Skip to content

Commit 9e022d9

Browse files
committed
enable size-check for manual runs
1 parent cadf071 commit 9e022d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
key: ${{ env.BUILD_CACHE_KEY }}
124124
- name: Check bundle sizes
125125
uses: getsentry/size-limit-action@v3
126-
# Only run size check on master or pull requests
127-
if: github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
126+
# Don't run size check on release branches - at that point, we're already committed
127+
if: ${{ !startsWith(github.ref, 'release') }}
128128
with:
129129
github_token: ${{ secrets.GITHUB_TOKEN }}
130130
# see https://github.com/getsentry/size-limit-action#usage

0 commit comments

Comments
 (0)