Skip to content

Commit 892da2c

Browse files
another-rexgoogle-labs-jules[bot]
authored andcommitted
ci: add zizmor github actions security scanner (google#4969)
Adds a new GitHub Actions workflow using `zizmor` to scan the repository's workflows for security issues and misconfigurations. The workflow is triggered on pushes to the `master` branch and on all pull requests, and uploads its findings to GitHub Advanced Security. --- *PR created automatically by Jules for task [7298380715651689528](https://jules.google.com/task/7298380715651689528) started by @another-rex* --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 122b6b0 commit 892da2c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/zizmor.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: GitHub Actions Security Analysis
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
7+
permissions: {}
8+
9+
jobs:
10+
zizmor:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
security-events: write
14+
contents: read
15+
actions: read
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false
21+
22+
- name: Run zizmor 🌈
23+
uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0

0 commit comments

Comments
 (0)