-
Notifications
You must be signed in to change notification settings - Fork 357
37 lines (32 loc) · 1.03 KB
/
zizmor.yml
File metadata and controls
37 lines (32 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
name: "Zizmor GitHub Actions Analysis"
# yamllint disable-line rule:truthy
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
permissions: {}
# Specifies group name that stops previous workflows if the name matches
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
zizmor:
name: Analyze workflows with zizmor
runs-on: ubuntu-latest
permissions:
security-events: write # Required to upload SARIF results to the Security tab
actions: read # Required to read workflow information
contents: read # Required to checkout repository
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6
with:
inputs: .github/workflows/