diff --git a/.github/workflows/sync-workflows.yml b/.github/workflows/sync-workflows.yml index 82e9faf..cd0c336 100644 --- a/.github/workflows/sync-workflows.yml +++ b/.github/workflows/sync-workflows.yml @@ -14,7 +14,7 @@ on: jobs: Sync_All_Repos_Common_Workflows: - if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' + if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' && github.event.pull_request.merged == true runs-on: ubuntu-latest # Use the latest Ubuntu runner for the job steps: - name: Checkout Central Workflows Repo # Step to checkout the repository containing the central workflows