Skip to content

Commit 218b00a

Browse files
committed
Permissions and token for adding a comment to the PR.
1 parent 2374d52 commit 218b00a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/browser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212

1313
jobs:
1414
build-test-browser:
15+
permissions:
16+
pull-requests: write
1517
runs-on: ubuntu-latest
1618

1719
strategy:
@@ -38,6 +40,7 @@ jobs:
3840
if: github.event_name == 'pull_request'
3941
env:
4042
PR_NUMBER: ${{ github.event.number }}
43+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4144
run: |
4245
brotli packages/sdk/browser/dist/index.js
4346
export PR_SIZE=$(stat -c %s packages/sdk/browser/dist/index.js.br)

0 commit comments

Comments
 (0)