Skip to content

Commit

Permalink
Restrict permissions given to Gradle-wrapper validation.
Browse files Browse the repository at this point in the history
Fixes https://github.com/google/guava/security/code-scanning/22

Compare grpc/grpc-java#8212

RELNOTES=n/a
PiperOrigin-RevId: 545771352
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jul 5, 2023
1 parent 18fee9a commit 31c478f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]

permissions:
contents: read

jobs:
validation:
name: "Validation"
Expand Down

0 comments on commit 31c478f

Please sign in to comment.