From 218b00aab74fee25d81b0549db0008b5ac5abd6e Mon Sep 17 00:00:00 2001 From: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:09:07 -0700 Subject: [PATCH] Permissions and token for adding a comment to the PR. --- .github/workflows/browser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/browser.yml b/.github/workflows/browser.yml index 06099f758..2f88c5aa3 100644 --- a/.github/workflows/browser.yml +++ b/.github/workflows/browser.yml @@ -12,6 +12,8 @@ on: jobs: build-test-browser: + permissions: + pull-requests: write runs-on: ubuntu-latest strategy: @@ -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)