From 7e1b04fc789722ecb8a9f2e2f6084daf3a921c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Irzyk?= <108666440+pawelirh@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:22:08 +0200 Subject: [PATCH] Prevent unwanted PR (#35) --- .github/workflows/release-repository.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-repository.yaml b/.github/workflows/release-repository.yaml index 4bfb22e..567efd3 100644 --- a/.github/workflows/release-repository.yaml +++ b/.github/workflows/release-repository.yaml @@ -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 }} \