Skip to content

Commit 4ff1429

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
GHA security improvements
1 parent 8e74676 commit 4ff1429

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ jobs:
1010
test:
1111
name: Run tests
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
1315

1416
steps:
1517
- name: Check out code
1618
uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1721

1822
- name: Set up Go
1923
uses: actions/setup-go@v5

0 commit comments

Comments
 (0)