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