Skip to content

Commit 031bebd

Browse files
authored
fix(build): Find release branches correctly (#4844)
Use `refs/heads/release/` instead of `release` when comparing against `github.ref` to see if size-check should be run. Needed to unblock next release.
1 parent 589bbb3 commit 031bebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Check bundle sizes
125125
uses: getsentry/size-limit-action@v4
126126
# Don't run size check on release branches - at that point, we're already committed
127-
if: ${{ !startsWith(github.ref, 'release') }}
127+
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
128128
with:
129129
github_token: ${{ secrets.GITHUB_TOKEN }}
130130
skip_step: build

0 commit comments

Comments
 (0)