Skip to content

Commit

Permalink
Update permissions for test job
Browse files Browse the repository at this point in the history
The job checks out the code, so it needs repo read permissions.

Co-authored-by: Nick <[email protected]>
  • Loading branch information
jsf9k and mcdonnnj committed Oct 31, 2024
1 parent 5ffaf0e commit 372b896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ jobs:
needs:
- diagnostics
# This job does not need any permissions
permissions: {}
permissions:
# actions/checkout needs this to fetch code
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit 372b896

Please sign in to comment.