Skip to content

Commit

Permalink
Update ci_file_health.yaml
Browse files Browse the repository at this point in the history
Update ci_file_health.yaml

requested

merge into ci file health

Update zizmor.yaml

Create zizmor.yaml

Update zizmor.yaml

show in term and summary instead of just summary.

Update zizmor.yaml

if condition not really needed here. it will either be 0 or not.
  • Loading branch information
userdocs committed Jan 10, 2025
1 parent dbf6d0c commit f422ce1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci_file_health.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,15 @@ jobs:
done
# check diff, ignore "Automatically generated by ..." part
git diff -I '\.\\".*' --exit-code
- name: zizmor workflow audits
run: |
pip install zizmor
zizmor . --gh-token ${{ github.token }} |& tee summary.md
exit_codes="${PIPESTATUS[0]}"
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
cat summary.md >> $GITHUB_STEP_SUMMARY
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY
exit "${exit_codes}"

0 comments on commit f422ce1

Please sign in to comment.