Skip to content

Commit

Permalink
ci: add zizmor for github actions security
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Dec 12, 2024
1 parent bb59fa1 commit 6782193
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci_security.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: GitHub Actions Security Analysis

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
paths:
- ".github/worfkflows/**"
push:
branches:
- main
- "renovate/**"
paths:
- ".github/worfkflows/**"
workflow_dispatch:
pull_request:
types: [opened, synchronize]
paths:
- ".github/workflows/**"
push:
branches:
- main
- "renovate/**"
paths:
- ".github/workflows/**"

jobs:
zizmor:
Expand All @@ -29,12 +29,12 @@ jobs:
uses: astral-sh/setup-uv@v4

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

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: zizmor
category: zizmor
1 change: 0 additions & 1 deletion .github/workflows/release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
paths:
- crates/oxc/Cargo.toml


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

0 comments on commit 6782193

Please sign in to comment.