Michael Daniels
4d776b4670
ci/github-script/lint-commits: confirm Git names/emails are present
...
Prevents issues reported on Matrix by Jujutsu users,
caused by people omitting these fields.
2026-05-05 17:39:22 -04:00
Michael Daniels
7d1f3b5df9
ci/github-script/lint-commits: fix link to commit conventions
2026-03-13 18:17:24 -04:00
Michael Daniels
58f002f950
ci/github-script/lint-commits: error when conventional commit format is used
...
E.g. https://redirect.github.com/NixOS/nixpkgs/pull/495442
2026-03-12 18:04:33 -04:00
Michael Daniels
d03b81d689
ci/github-script: don't use GH API when getting commit info, return only subject
2026-03-12 18:04:32 -04:00
Michael Daniels
743ab29528
ci/github-script: split getting commit details for PR into its own file
2026-03-12 18:04:32 -04:00
Michael Daniels
963f784f6d
ci/github-script/lint-commits: support PRs with over 250 commits, check for "fixup!" commits ( #486796 )
2026-02-14 18:56:15 +00:00
Michael Daniels
1921190502
ci/github-script/lint-commits: check for "fixup!" and friends
2026-02-11 14:13:21 -05:00
Michael Daniels
c7eee1a755
ci/github-script/lint-commits: support PRs with over 250 commits
...
We want to be able to check python-updates.
2026-02-11 14:13:20 -05:00
Michael Daniels
0a07e4e187
ci/github-script/lint-commits: fix development branch check
...
https://redirect.github.com/NixOS/nixpkgs/pull/487628 should have had this
job fail, but [didn't](https://github.com/NixOS/nixpkgs/actions/runs/21753302803/job/62756645701?pr=487628#step:3:18 ),
because the head branch was named `master`.
2026-02-07 19:51:41 -05:00
aleksana
c04dc5869d
workflows/lint: require to contain a colon with a whitespace
...
This restricts github automatically merging master with commit message
"Merge branch 'NixOS:master' into ...". Although we don't explicitly
prohibit not space after colons, we don't use it in any of the examples.
It's also enforced in https://www.conventionalcommits.org/en/v1.0.0/
2026-01-09 16:40:09 +08:00
Matt Sturgeon
7cfe9b8c85
workflows/lint: fully skip the commits job in Merge Queues
...
Follow-up to 7cf5972410
While the JS script already returned early, we can save a few resources
by skipping the job entirely when there's no `pull_request` context.
2025-12-18 13:09:17 +00:00
Michael Daniels
7cf5972410
{workflows/lint,ci/github-script}: lint commit messages
2025-12-13 16:43:41 -05:00