Skip to content

Commit 218a371

Browse files
ShareASmiletriallaxwhistlingwoods
committed
Use minimum required permissions for GitHub workflows
This reduces the attack surface if the workflows are ever compromised. Co-Authored-By: triallax <[email protected]> Co-Authored-By: RSoulwin <[email protected]>
1 parent c523a13 commit 218a371

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
build-and-test-jvm:
2828
runs-on: ubuntu-latest
2929

30+
permissions:
31+
contents: read
32+
3033
steps:
3134
- uses: actions/checkout@v3
3235
- uses: gradle/wrapper-validation-action@v1

0 commit comments

Comments
 (0)