Skip to content

Commit 5c36c4f

Browse files
committed
feat(ci): improve workflows
- tighten versions of actions use - add job and use zizmore to check
1 parent 8fee1f4 commit 5c36c4f

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,27 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions: {}
10+
911
jobs:
1012
test:
13+
permissions:
14+
security-events: write
15+
contents: read
16+
actions: read
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
persist-credentials: false
22+
23+
- uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
24+
25+
26+
e2e:
27+
needs: test
28+
permissions:
29+
contents: read
1130
strategy:
1231
fail-fast: false
1332
matrix:
@@ -28,7 +47,9 @@ jobs:
2847
runs-on: ${{ matrix.os }}
2948
name: ${{ matrix.name }}
3049
steps:
31-
- uses: actions/checkout@v6
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
51+
with:
52+
persist-credentials: false
3253

3354
- uses: ./
3455
with:

0 commit comments

Comments
 (0)