We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d0ebb commit a0212e7Copy full SHA for a0212e7
.github/workflows/release-browser.yml
@@ -31,7 +31,7 @@ jobs:
31
- name: Branch check
32
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
33
run: |
34
- if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix-rc-browser" ]] && [[ "$GITHUB_REF" != "refs/heads/rc-browser-2025.4.0"]]; then
+ if [[ ! "$GITHUB_REF" =~ ^refs/heads/(rc|hotfix-rc-browser|rc-browser-2025\.4\.0)$ ]]; then
35
echo "==================================="
36
echo "[!] Can only release from the 'rc' or 'hotfix-rc-browser' branches"
37
0 commit comments