Skip to content

Commit

Permalink
fix the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts authored Oct 17, 2024
1 parent 635ba72 commit 787468e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/repo-pr-enforce-base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check if PR is from dev or hotfix
if: ${{ !(startsWith(github.event.pull_request.head.ref, 'hotfix/') || github.event.pull_request.head.ref == 'dev') }}
run: |
gh repo set-default ${{ github.repository.full_name }}
gh repo set-default ${{ github.repository }}
gh pr comment ${{ github.event.number }} --body 'This PR targets the `master` branch but does not come from `dev` or a `hotfix/*` branch.\n\nAutomatically setting the base branch to `dev`.'
gh pr edit ${{ github.event.number }} --base dev
env:
Expand Down

0 comments on commit 787468e

Please sign in to comment.