Skip to content

Commit

Permalink
build: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ince committed Sep 26, 2023
1 parent 08c6449 commit f7f7a8e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
pr-check:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
pull-requests: write
issues: write
statuses: write
id-token: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand All @@ -19,7 +26,7 @@ jobs:
- run: npm ci
- run: npx danger ci --verbose --failOnErrorsdanger
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f7f7a8e

Please sign in to comment.