1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-27 13:43:41 +00:00

Add branch check for Staged Rollout Desktop workflow (#4062)

This commit is contained in:
Vince Grassia
2022-11-16 10:48:49 -05:00
committed by GitHub
parent 0ddbafd116
commit fa110a21d0
6 changed files with 22 additions and 5 deletions

View File

@@ -48,7 +48,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-cli ]]; then
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix-rc-cli" ]]; then
echo "==================================="
echo "[!] Can only release from the 'rc' or 'hotfix-rc-cli' branches"
echo "==================================="