Skip to content

Commit

Permalink
ci: set token permissions to github workflows
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 committed Dec 6, 2023
1 parent b35aa6a commit 4ab881d
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 4ab881d

Please sign in to comment.