commit 53b8cfc00a6d1ce8d5c8ee9c51c84a036349235b parent d2d6724dbdab12ee4d729561f5d257745f45e2e0 Author: Drew DeVault <sir@cmpwn.com> Date: Thu, 12 May 2022 15:11:27 +0200 .builds/alpine.yml: check patches for sign-off Diffstat:
M | .builds/alpine.yml | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/.builds/alpine.yml b/.builds/alpine.yml @@ -5,6 +5,16 @@ sources: - https://git.sr.ht/~sircmpwn/harec - https://git.sr.ht/~sircmpwn/hare tasks: +- signoff: | + cd hare + if [ "$BUILD_REASON" = "patchset" ] + then + if ! git log --format='%b' origin/master^^.. | grep 'Signed-off-by' >/dev/null + then + echo "Patch missing Signed-off-by" + exit 1 + fi + fi - qbe: | cd qbe make PREFIX=/usr