Skip to content

Commit

Permalink
Run zizmor in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcampbell24 authored and sylvestre committed Dec 19, 2024
1 parent db332e5 commit 1f84ad7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: zizmor

on:
push:
pull_request:

jobs:
zizmor:
name: zizmor
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4
with:
persist-credentials: false

- name: Download zizmor
run: cargo install zizmor

- name: Run zizmor 🌈
run: |
cd "$GITHUB_WORKSPACE"
zizmor --gh-token "$GH_TOKEN" .github/workflows/*.yml
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1f84ad7

Please sign in to comment.