From 43ced5291bf9ac09ee3469640b8a61b540406494 Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Tue, 6 Feb 2024 08:18:31 -0300 Subject: [PATCH] Only run workflow for spring-projects repositories Issue gh-14535 --- .github/workflows/trigger-dependabot-auto-merge-forward.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-dependabot-auto-merge-forward.yml b/.github/workflows/trigger-dependabot-auto-merge-forward.yml index 6ee19c0678..fa80aafc7a 100644 --- a/.github/workflows/trigger-dependabot-auto-merge-forward.yml +++ b/.github/workflows/trigger-dependabot-auto-merge-forward.yml @@ -9,7 +9,7 @@ jobs: trigger-worflow: name: Trigger Workflow runs-on: ubuntu-latest - if: github.event.commits[0].author.username == 'dependabot[bot]' + if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository_owner == 'spring-projects' }} steps: - name: Checkout id: checkout