Skip to content

Commit 43b96dc

Browse files
authored
CI: fix failing ci and playwright workflows (#1756)
1 parent e032ff1 commit 43b96dc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,9 @@ jobs:
282282
if: ${{ always() && !cancelled() }}
283283
needs: [generate-plugins]
284284
runs-on: ubuntu-latest
285+
permissions:
286+
contents: write
287+
pull-requests: write
285288
steps:
286289
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
287290
with:
@@ -324,7 +327,7 @@ jobs:
324327

325328
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
326329
with:
327-
token: ${{ steps.generate_token.outputs.token }}
330+
token: ${{ steps.generate-token.outputs.token }}
328331
persist-credentials: false
329332

330333
- name: Prepare repository
@@ -345,7 +348,7 @@ jobs:
345348

346349
- name: Create Release
347350
env:
348-
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
351+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
349352
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
350353
# comes from the get-secrets step (shared get-vault-secrets workflow)
351354
SLACK_WEBHOOK_URL: ${{ env.SLACK_WEBHOOK_URL }}

.github/workflows/playwright.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
needs: [playwright-tests]
101101
runs-on: ubuntu-latest
102102
permissions:
103+
contents: write
103104
pull-requests: write
104105
steps:
105106
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)