Skip to content

Commit acbe0ba

Browse files
authored
Merge pull request #92 from artichoke/lopopolo-patch-1
add zizmor audit workflow
2 parents c9031bf + fd542f6 commit acbe0ba

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/audit.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/[email protected]
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
with:
21+
persist-credentials: false
2022

2123
- name: Install Ruby toolchain
2224
uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0
@@ -41,7 +43,9 @@ jobs:
4143

4244
steps:
4345
- name: Checkout repository
44-
uses: actions/[email protected]
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
with:
48+
persist-credentials: false
4549

4650
- name: Install Rust toolchain
4751
uses: artichoke/setup-rust/[email protected]
@@ -57,3 +61,19 @@ jobs:
5761
arguments: --locked --all-features
5862
command: check ${{ matrix.checks }}
5963
command-arguments: --show-stats
64+
65+
zizmor:
66+
name: Run zizmor 🌈
67+
runs-on: ubuntu-latest
68+
permissions:
69+
security-events: write
70+
steps:
71+
- name: Checkout repository
72+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
73+
with:
74+
persist-credentials: false
75+
76+
- name: Run zizmor 🌈
77+
uses: zizmorcore/zizmor-action@f52a838cfabf134edcbaa7c8b3677dde20045018 # v0.1.1
78+
with:
79+
persona: "pedantic"

0 commit comments

Comments
 (0)