Skip to content

Commit 7e1b04f

Browse files
authored
Prevent unwanted PR (#35)
1 parent e6553f0 commit 7e1b04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-repository.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
--notes-from-tag
8282
8383
- name: Create pull request to main branch
84-
if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH }}
84+
if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH && github.event.inputs.automatic_mode == true }}
8585
run: |
8686
gh pr create \
8787
--base ${{ env.MAIN_BRANCH }} \

0 commit comments

Comments
 (0)