From 31babecfbd1b7366e8c03b5a6a2b14ad86e8600d Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Fri, 26 Jul 2024 10:25:30 -0300 Subject: [PATCH] Only Merge PRs from Original Repository --- .github/workflows/merge-dependabot-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-dependabot-pr.yml b/.github/workflows/merge-dependabot-pr.yml index 89f426022d..9c614bc866 100644 --- a/.github/workflows/merge-dependabot-pr.yml +++ b/.github/workflows/merge-dependabot-pr.yml @@ -9,7 +9,7 @@ permissions: write-all jobs: merge-dependabot-pr: runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'dependabot[bot]' + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }} steps: - uses: actions/checkout@v4