Skip to content

Commit

Permalink
ci: set token permissions to github workflows (#143)
Browse files Browse the repository at this point in the history
* The top level permission for github workflows were set to be content
read

Signed-off-by: Joyce Brum <[email protected]>
  • Loading branch information
joycebrum authored Jan 11, 2024
1 parent a2b2b32 commit 1d8b6ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/apidiff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
compat:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- master
permissions:
contents: read
jobs:
unit-tests:
strategy:
Expand Down

0 comments on commit 1d8b6ea

Please sign in to comment.