From 67de0437ba13092876ec409920704821975f95c5 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:46 +0200 Subject: [PATCH] Prevent unwanted PR (#285) --- .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 4bfb22ea8..567efd3fd 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 }} \