Skip to content

Commit ccc259c

Browse files
authored
fix: resolve zizmor template-injection + excessive-permissions (INFRA-869) (#18)
test.yml: contents: read + persist-credentials: false (artipacked). Verified with the org zizmor config: 0 findings outside the deferred set. INFRA-869
1 parent 8fc3062 commit ccc259c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ on:
66
pull_request:
77
branches: [master]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
runs-on: ubuntu-latest
1215

1316
steps:
1417
- uses: actions/checkout@v4
18+
with:
19+
persist-credentials: false
1520

1621
- uses: actions/setup-node@v4
1722
with:

0 commit comments

Comments
 (0)