Skip to content

Commit

Permalink
fix(workflow): check for staging branch branch
Browse files Browse the repository at this point in the history
  • Loading branch information
iankressin committed Aug 27, 2024
1 parent 28b0a0c commit 83b0105
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lock-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Check Source Branch
run: |
if [ "${{ github.event.pull_request.head.ref }}" != "staging" ]; then
echo "PRs to main branch must come from staging branch only."
exit 1
fi"""""}}"]
if [ "${{ github.event.pull_request.head.ref }}" != "staging" ]; then
echo "PRs to main branch must come from staging branch only."
exit 1
fi

0 comments on commit 83b0105

Please sign in to comment.