Skip to content

Commit a7792d3

Browse files
committed
Limit permissions to gradlew validator GH Action
I've already limited the grpc-wide setting to read-only access, but limiting it explicitly here seems like a good idea; all workflows should explicitly set their permissions since any action can implicitly access the GITHUB_TOKEN.
1 parent 505594a commit a7792d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Validate Gradle Wrapper"
22
on: [push, pull_request]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58
validation:
69
name: "Gradle wrapper validation"

0 commit comments

Comments
 (0)