mirror of
https://github.com/bitwarden/browser
synced 2026-01-09 03:53:53 +00:00
Add branch check for Staged Rollout Desktop workflow (#4062)
This commit is contained in:
2
.github/workflows/release-web.yml
vendored
2
.github/workflows/release-web.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Branch check
|
||||
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
|
||||
run: |
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ $GITHUB_REF != "refs/heads/hotfix-rc-web" ]]; then
|
||||
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix-rc-web" ]]; then
|
||||
echo "==================================="
|
||||
echo "[!] Can only release from the 'rc' or 'hotfix-rc-web' branches"
|
||||
echo "==================================="
|
||||
|
||||
Reference in New Issue
Block a user