Skip to content

Commit f123b82

Browse files
committed
enable size-check for manual runs
1 parent 3ff32d9 commit f123b82

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@v4
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
skip_step: build

0 commit comments

Comments
 (0)