Skip to content

Commit f91fde7

Browse files
committed
Update ci-checks.yml
Update ci-checks.yml
1 parent 62e7164 commit f91fde7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci-checks.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@ jobs:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
run: |
4040
pip install zizmor
41+
zizmor . --gh-token $GITHUB_TOKEN |& tee summary.md
42+
exit_codes="${PIPESTATUS[0]}"
4143
4244
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
43-
zizmor . --gh-token $GITHUB_TOKEN >> $GITHUB_STEP_SUMMARY
45+
cat summary.md >> $GITHUB_STEP_SUMMARY
4446
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY
4547
48+
exit "${exit_codes}"
49+
4650
editorconfig-checker:
4751
runs-on: ubuntu-24.04
4852
steps:
@@ -58,8 +62,8 @@ jobs:
5862
5963
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
6064
./ec-linux-amd64 --exclude '^(docs/.*|patches/.*)$' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" >> $GITHUB_STEP_SUMMARY
61-
outcome=("${PIPESTATUS[@]}")
65+
exit_codes=("${PIPESTATUS[0]}")
6266
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY
6367
64-
# [[ "${outcome[*]}" =~ [1-9] ]] && exit 1 || exit 0
68+
# exit "${exit_codes}"
6569

0 commit comments

Comments
 (0)