Skip to content

Commit

Permalink
Update ci-checks.yml
Browse files Browse the repository at this point in the history
Update ci-checks.yml
  • Loading branch information
userdocs committed Jan 7, 2025
1 parent 62e7164 commit f91fde7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install zizmor
zizmor . --gh-token $GITHUB_TOKEN |& tee summary.md
exit_codes="${PIPESTATUS[0]}"
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
zizmor . --gh-token $GITHUB_TOKEN >> $GITHUB_STEP_SUMMARY
cat summary.md >> $GITHUB_STEP_SUMMARY
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY
exit "${exit_codes}"
editorconfig-checker:
runs-on: ubuntu-24.04
steps:
Expand All @@ -58,8 +62,8 @@ jobs:
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
./ec-linux-amd64 --exclude '^(docs/.*|patches/.*)$' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" >> $GITHUB_STEP_SUMMARY
outcome=("${PIPESTATUS[@]}")
exit_codes=("${PIPESTATUS[0]}")
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY
# [[ "${outcome[*]}" =~ [1-9] ]] && exit 1 || exit 0
# exit "${exit_codes}"

0 comments on commit f91fde7

Please sign in to comment.