Skip to content

Commit

Permalink
Update zizmor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KP64 authored Dec 16, 2024
1 parent 0a7aa6a commit 2037da2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: GitHub Actions Security Analysis with zizmor 🌈

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
Expand All @@ -18,12 +19,17 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false

- name: Install the latest version of uv
uses: astral-sh/setup-uv@3460fe1a9ab32cdfff176fd684479d2f6dff237c
with:
enable-cache: false

- name: Run zizmor 🌈
run: uvx zizmor -p --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae
with:
Expand Down

0 comments on commit 2037da2

Please sign in to comment.