From dba99766edeb867cda9a2190255982f7bbc7cc29 Mon Sep 17 00:00:00 2001 From: Jaapio Date: Fri, 12 Apr 2024 15:24:08 +0200 Subject: [PATCH] Backport on closed merge requests only --- .github/workflows/backport.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 3fd18fdc1..a743494fb 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -11,6 +11,7 @@ jobs: steps: - name: "Backport Action" uses: "sorenlouv/backport-github-action@v9.3.1" + if: "${{ github.event.pull_request.merged == true }}" with: github_token: "${{ secrets.BOT_TOKEN }}" auto_backport_label_prefix: "auto-backport-to-"