File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ paths :
6+ - ' .github/workflows/*'
7+
8+ pull_request :
9+ paths :
10+ - ' .github/workflows/*'
11+
12+ permissions : {}
13+
14+ jobs :
15+ zizmor :
16+ runs-on : ubuntu-latest
17+ permissions :
18+ security-events : write
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+ with :
23+ persist-credentials : false
24+
25+ - name : Run zizmor 🌈
26+ uses : zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
Original file line number Diff line number Diff line change 33# Triggers the workflow on push or pull request events
44on : [push, pull_request]
55
6+ permissions : {}
7+
68jobs :
79 bats-test :
810 strategy :
1315
1416 steps :
1517 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+ with :
19+ persist-credentials : false
1620 - name : Install greadlink
1721 if : startsWith(runner.os, 'macOS')
1822 run : brew install coreutils
2933
3034 steps :
3135 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+ with :
37+ persist-credentials : false
3238 - name : Set up Python
3339 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3440 with :
4349
4450 steps :
4551 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
52+ with :
53+ persist-credentials : false
4654 - name : Set up Go
4755 uses : actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4856 with :
7684 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7785 with :
7886 fetch-depth : 0
87+ persist-credentials : false
7988
8089 - id : ShellCheck
8190 name : Differential ShellCheck
Original file line number Diff line number Diff line change @@ -24,9 +24,13 @@ repos:
2424 - repo : https://github.com/Lucas-C/pre-commit-hooks
2525 rev : ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6
2626 hooks :
27- # - id: forbid-crlf
2827 - id : remove-crlf
2928 exclude : " .bat$"
29+ # Github action
30+ - repo : https://github.com/zizmorcore/zizmor-pre-commit
31+ rev : ea2eb407b4cbce87cf0d502f36578950494f5ac9 # frozen: v1.23.1
32+ hooks :
33+ - id : zizmor
3034 - repo : local
3135 hooks :
3236 - id : dot-sh
You can’t perform that action at this time.
0 commit comments