house-keeping: workflow fixes

This commit is contained in:
Paul Donald 2024-01-30 00:53:23 +01:00
parent fed7a5c2c7
commit 4dc7a4e19e

View file

@ -22,7 +22,7 @@ jobs:
echo "Building for $BRANCH" echo "Building for $BRANCH"
echo "BRANCH=$BRANCH" >> $GITHUB_ENV echo "BRANCH=$BRANCH" >> $GITHUB_ENV
- name: Test formalities - name: Test for merge, subject and S.O.B.
run: | run: |
source .github/workflows/ci_helpers.sh source .github/workflows/ci_helpers.sh
@ -45,7 +45,7 @@ jobs:
body="$(git show -s --format=%b $commit)" body="$(git show -s --format=%b $commit)"
sob="$(git show -s --format='Signed-off-by: %aN <%aE>' $commit)" sob="$(git show -s --format='Signed-off-by: %aN <%aE>' $commit)"
if echo "$body" | grep -qF "$sob"; then if echo "$body" | grep -qF "$sob"; then
success "Signed-off-by match author" success "Signed-off-by matches author"
else else
err "Signed-off-by is missing or doesn't match author (should be '$sob')" err "Signed-off-by is missing or doesn't match author (should be '$sob')"
RET=1 RET=1