Skip to content

Commit

Permalink
Prevent unwanted PR (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh authored Apr 30, 2024
1 parent d9046bc commit 67de043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
--notes-from-tag
- name: Create pull request to main branch
if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH }}
if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH && github.event.inputs.automatic_mode == true }}
run: |
gh pr create \
--base ${{ env.MAIN_BRANCH }} \
Expand Down

0 comments on commit 67de043

Please sign in to comment.