Skip to content

Commit

Permalink
Only Merge PRs from Original Repository
Browse files Browse the repository at this point in the history
(cherry picked from commit 31babec)
  • Loading branch information
marcusdacoregio committed Jul 26, 2024
1 parent 2ee188e commit 1a90041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/merge-dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a90041

Please sign in to comment.