From ddfb9000f30778e1bb3a763c95bb11d01fdc7c64 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 5 Apr 2024 04:06:30 -0700 Subject: [PATCH] fix: only run backport action if merged (#1054) (#1056) (cherry picked from commit 9fc434ab42280c0f868daa2e55f8c2979f1055a9) Co-authored-by: lea --- .github/workflows/sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index e4ec6cabca..3fdf3b0a07 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -8,6 +8,7 @@ jobs: backport: name: Backport/sync PR runs-on: ubuntu-latest + if: github.event.pull_request.merged steps: - name: Install SSH signing key run: |