Skip to content

Commit

Permalink
Harden ci.yml permissions (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura authored Dec 8, 2022
1 parent 0e76a72 commit 2b5c083
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
branches: master
pull_request:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
test:
strategy:
Expand Down

0 comments on commit 2b5c083

Please sign in to comment.