aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-commits.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools/check-commits.sh: allow AUTHORS as a prefix in commit message summariesAndrew Donnellan2025-12-101-1/+1
| | | | | | | Currently, the commit message summary line regex in check-commits.sh allows CONTRIBUTORS but not AUTHORS. Add AUTHORS. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
* tools: allow dependabot to commit long descriptionsTaras Madan2025-07-041-1/+3
| | | | Some dependencies update fail because of the len(descr_line)>120.
* tools: print regex pattern in check-commits.shDmitry Vyukov2024-04-081-2/+4
| | | | To make it more clear what is the actual check.
* tools: allow [^A-Z] after : in commit message instead of [a-z]Patrick Meyer2021-05-061-1/+1
| | | | | | The old regexp choked on the following commit message, which we should allow according to dvyukov@: pkg/cover/backend: [symbStart, symbEnd) is a half-closed range
* tools/check-commits.sh: use PR head instead of baseDmitry Vyukov2020-08-061-5/+5
| | | | | Base points to already commetted changes, we really want to cheack head of the PR.
* tools/check-commits: allow canonical 'git revert' formatMarco Elver2020-08-061-1/+1
| | | | Allow the canonical 'git revert' format.
* tools/check-commits.sh: fix commit range detectionDmitry Vyukov2020-08-051-11/+10
| | | | | | | | | | | | We currently check from github.event.pull_request.base.sha to github.event.pull_request.head.sha, but they may be in different branches if the PR commits are branched not from the latest master HEAD (at the time of PR creation). Then GH will create a merge commit, and the range we try to check is not valid. Check github.event.pull_request.commits commits backwards from github.event.pull_request.head.sha commit.
* .github/workflows: check commit description formatDmitry Vyukov2020-07-311-0/+42
Check PR commit subjects for the standard format we use "pkg/name: description of the change". Check PR commit bodies for at most 120 characters.