Only Merge PRs from Original Repository

(cherry picked from commit 31babecfbd)
This commit is contained in:
Marcus Hert Da Coregio
2024-07-26 10:25:30 -03:00
parent 2ee188ee36
commit 1a90041271

View File

@@ -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