Commit Graph

3 Commits

Author SHA1 Message Date
Robert Scott
dc4f218432 check-cherry-picks.sh maintainer script: add clarifying message regarding differences found 2024-04-10 22:21:08 +01:00
Robert Scott
b612366abc check-cherry-picks.sh maintainer script: fix handling of cherry-pick-less branches 2024-04-10 21:59:50 +01:00
Robert Scott
fbad66daa5 add "Check cherry-picks" github action
the intention being to catch commits which declare themselves as
cherry-picks, but either:

 - don't refer to a commit in the master or staging branches
 - are significantly altered from their original commit

determining the latter is not an exact science, but the heuristic of
looking for differences in only the added or removed lines seems to
work quite well. still, this should be considered an assistant
for reviewers rather than a hard failure. unfortunately github
workflows don't have a way of raising a gentle warning instead of a
failure.

the formatting of the output also leaves something to be desired due
to the limitations of github actions' "group" commands.
2024-04-01 16:10:13 +01:00