Skip to content

Commit ccac91a

Browse files
authored
add zizmor to existing precommit GHA workflow (#39108)
1 parent 31175f9 commit ccac91a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/beam_PreCommit_GHA.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ permissions:
4242
packages: read
4343
pages: read
4444
repository-projects: read
45-
security-events: read
45+
security-events: write
4646
statuses: read
4747

4848
# This allows a subsequently queued workflow run to interrupt previous runs
@@ -78,6 +78,10 @@ jobs:
7878
comment_phrase: ${{ matrix.job_phrase }}
7979
github_token: ${{ secrets.GITHUB_TOKEN }}
8080
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
81+
- name: Run zizmor
82+
uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
83+
with:
84+
advanced-security: true
8185
- name: Setup environment
8286
uses: ./.github/actions/setup-environment-action
8387
with:

0 commit comments

Comments
 (0)