Skip to content

Commit

Permalink
Create zizmor.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed Jan 6, 2025
1 parent 4f3d779 commit acfbc27
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: zizmor workflow audits
on:
push:
pull_request:
workflow_dispatch:


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
zizmor-workflow-audits:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: zizmor workflow audits
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install zizmor
printf '%b\n' "\`\`\`" >> $GITHUB_STEP_SUMMARY
zizmor . --gh-token $GITHUB_TOKEN >> $GITHUB_STEP_SUMMARY
printf '%b' "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 comments on commit acfbc27

Please sign in to comment.