From 59473bd60787db3a9aef14d17fd0ca81db6b6e76 Mon Sep 17 00:00:00 2001 From: kumvijaya Date: Wed, 22 Jan 2025 14:53:11 +0530 Subject: [PATCH] T7065: pr mirror to trigger only when the pullrequest is merged --- .github/workflows/trigger-pr-mirror-repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-pr-mirror-repo-sync.yml b/.github/workflows/trigger-pr-mirror-repo-sync.yml index 7547b8e1f7..f748959875 100644 --- a/.github/workflows/trigger-pr-mirror-repo-sync.yml +++ b/.github/workflows/trigger-pr-mirror-repo-sync.yml @@ -8,6 +8,6 @@ on: jobs: call-trigger-mirror-pr-repo-sync: - if: github.repository_owner == 'vyos' + if: github.repository_owner == 'vyos' && github.event.pull_request.merged == true uses: vyos/.github/.github/workflows/trigger-pr-mirror-repo-sync.yml@current secrets: inherit