Skip to content

Commit

Permalink
ci: try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed Jun 24, 2024
1 parent d913e94 commit e7d0011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
steps:
- name: Check branch name
run: |
ref ="${{ github.ref }}"
if [[ ! "$ref" =~ release-*$ ]]; then
ref="${{ github.ref }}"
if [[ ! "$ref" =~ ^refs/heads/release-* ]]; then
echo "Error: Workflow can only run on branches starting with 'release-*'"
exit 1
fi
Expand Down

0 comments on commit e7d0011

Please sign in to comment.