Skip to content

Commit

Permalink
ci: fix permission issue on dependabot created pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
icelam committed Feb 6, 2024
1 parent 0908739 commit 023b2fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ env:
TEST_REPORT_ESLINT_FOLDER: reports/eslint
TEST_REPORT_ESLINT_FILENAME: eslint.json

# Allow Dependabot PRs to to run correctly
# https://github.community/t/opt-in-to-allow-writable-tokens-on-dependabot-workflows/183041
permissions:
id-token: write
contents: write
pull-requests: write
checks: write

jobs:
lint:
name: Linting
Expand Down

0 comments on commit 023b2fc

Please sign in to comment.