Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeannesson committed Aug 10, 2023
1 parent ba07cae commit ba5b9ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/check_PR_source_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
BASE_REF: ${{ github.base_ref }}
ENVIRONMENT: ${{ github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
run: |
echo "New"
if [[ "$ENVIRONMENT" == "internal" ]] && [[ "$HEAD_REF" != "dev" ]] && [[ "$BASE_REF" == "main" ]]; then
echo "Merge requests to the main branch are only allowed from the dev branch."
exit 1
Expand Down

0 comments on commit ba5b9ce

Please sign in to comment.