Edwin Török
56df2f1c17
ci(commit-validation): use git to walk commits
...
The PR event doesn't include the actual commits, just a count and a URL
to fetch it.
But we can checkout the entire git history, we don't have so many
commits that we need to optimize this just yet.
And then we might as well use `git` itself to walk the commit history.
(Using the remote commits URL would be useful only if we'd want to do a
shallow clone because we have too many commits)
Signed-off-by: Edwin Török <edwin@etorok.net >
2023-12-27 10:38:44 -08:00
John MacFarlane
c33750c4b2
commit-validation CI - another attempt.
2023-12-26 23:00:22 -08:00
John MacFarlane
0ba8af939c
commit validation CI: work with regular push as well as pr.
2023-12-26 22:49:50 -08:00
John MacFarlane
b9b8343645
Fix commit-validation CI.
...
Hopefully. See #9286 .
2023-12-26 22:46:56 -08:00
John MacFarlane
6b6da8b154
Fix commit validation CI.
...
This CI action has been broken for a long time, giving us false
negatives.
2023-12-19 15:51:28 -08:00
John MacFarlane
9875993559
Fix commit-validation CI.
2023-12-19 15:33:25 -08:00
John MacFarlane
9d15289864
Attempt to fix commit-validation CI.
2023-12-19 15:31:50 -08:00
dependabot[bot]
c34340aaaf
Bump actions/checkout from 2 to 3 ( #7986 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 17:51:31 -07:00
Naveen
f4a7ba967e
Set permissions for GitHub actions ( #7984 )
...
This limits the damage that a compromised GitHub action could do.
See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
2022-03-24 09:32:57 -07:00
Nikolay Yakimov
52a73abfe4
[CI] broken commit message length test ( #6398 )
...
* [CI] Fix commit message length check
* [CI] Smarter commit message length check
* [CI] Fix commit message length check for new branches
* [CI] Output offending commits
2020-05-25 22:07:24 -07:00