From d32a4930751a0588ab340a566aced462b59bc5b4 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:23:13 +0200 Subject: [PATCH] Prevent unwanted PR (#56) --- .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 f822a6f..2bead7a 100644 --- a/.github/workflows/release-repository.yaml +++ b/.github/workflows/release-repository.yaml @@ -92,7 +92,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 }} \