From 9fc434ab42280c0f868daa2e55f8c2979f1055a9 Mon Sep 17 00:00:00 2001 From: lea Date: Thu, 4 Apr 2024 04:21:20 -0700 Subject: [PATCH] fix: only run backport action if merged (#1054) --- .github/workflows/sync.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index dcdc05ccda..dae5af60c0 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: Backport Action uses: sorenlouv/backport-github-action@v9.3.0