Browse Source

Only Merge PRs from Original Repository

(cherry picked from commit 31babecfbd1b7366e8c03b5a6a2b14ad86e8600d)
Marcus Hert Da Coregio 1 year ago
parent
commit
1a90041271
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/merge-dependabot-pr.yml

+ 1 - 1
.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