Skip to content

Commit

Permalink
Try to make Bundlewatch work on PRs (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher authored Mar 7, 2024
1 parent bab191b commit 00fa195
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bundlesize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
env:
# Configuration for Bundlewatch
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

steps:
- name: Install package manager
uses: pnpm/action-setup@v3
Expand All @@ -37,3 +32,8 @@ jobs:

- name: Run Bundlewatch
run: pnpx bundlewatch
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
CI_BRANCH: ${{ github.ref }}
CI_BRANCH_BASE: refs/heads/master
CI_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}

0 comments on commit 00fa195

Please sign in to comment.