Skip to content

Commit

Permalink
Permissions and token for adding a comment to the PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Oct 29, 2024
1 parent 2374d52 commit 218b00a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:

jobs:
build-test-browser:
permissions:
pull-requests: write
runs-on: ubuntu-latest

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

0 comments on commit 218b00a

Please sign in to comment.