Skip to content

Commit

Permalink
ci: Add missing permission (#1180)
Browse files Browse the repository at this point in the history
dorny test-reporter now requires the 'checks' write permission, see dorny/test-reporter#229

It seems to have been the case for a while, but for some reason missing permissions are now breaking the build. It might be related to the other weird issues we've seen with Dependabot commits recently.

PR added the permission to mangrove.js, this commit adds it the rest of the jobs.
  • Loading branch information
espendk authored Mar 27, 2023
1 parent e8afc61 commit 806e7fb
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -315,6 +318,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -438,6 +444,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -547,6 +556,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -657,6 +669,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -767,6 +782,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -864,7 +882,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
# ==== End job: bot-taker-greedy ====

# ==== Job: Build and test bot-failing-offer ====
# ==== Job: Build and test bot-failing-offer ====
bot-failing-offer:
needs: [security-guard, commonlib-js, mangrove-js, bot-utils]

Expand All @@ -877,6 +895,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down Expand Up @@ -987,6 +1008,9 @@ jobs:
run:
working-directory: ${{env.working-directory}}

permissions:
checks: write

strategy:
matrix:
node-version: [16.x]
Expand Down

0 comments on commit 806e7fb

Please sign in to comment.