house-keeping: workflow fixes
This commit is contained in:
parent
fed7a5c2c7
commit
4dc7a4e19e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/formal.yml
vendored
4
.github/workflows/formal.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue