瀏覽代碼

Only Merge PRs from Original Repository

(cherry picked from commit 31babecfbd1b7366e8c03b5a6a2b14ad86e8600d)
Marcus Hert Da Coregio 1 年之前
父節點
當前提交
1a90041271
共有 1 個文件被更改,包括 1 次插入1 次删除
  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