Skip to content

Commit

Permalink
fix(build): Find release branches correctly (#4844)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AbhiPrasad committed Apr 4, 2022
1 parent 589bbb3 commit 031bebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Check bundle sizes
uses: getsentry/size-limit-action@v4
# Don't run size check on release branches - at that point, we're already committed
if: ${{ !startsWith(github.ref, 'release') }}
if: ${{ !startsWith(github.ref, 'refs/heads/release/') }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_step: build
Expand Down

0 comments on commit 031bebd

Please sign in to comment.