Skip to content

Commit

Permalink
ci: Updated permissions for github token
Browse files Browse the repository at this point in the history
  • Loading branch information
BottlecapDave committed Jun 22, 2024
1 parent 477fb02 commit b0bee42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
TEST_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TEST_REPO: bottlecapdave/github-pull-request-reminder
TEST_SLACK_WEBHOOK_URL: ${{ secrets.TEST_SLACK_WEBHOOK_URL }}

permissions:
pull-requests: read

jobs:
build:
name: Build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
TEST_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TEST_REPO: ${{ secrets.TEST_REPO }}
TEST_SLACK_WEBHOOK_URL: ${{ secrets.TEST_SLACK_WEBHOOK_URL }}

permissions:
pull-requests: read

jobs:
test:
name: Test
Expand Down

0 comments on commit b0bee42

Please sign in to comment.