Skip to content

Commit 731cd61

Browse files
Do not try to run trigger dependabot automerge workflow in PRs
Issue gh-14535
1 parent c2a5897 commit 731cd61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/trigger-dependabot-auto-merge-forward.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
trigger-worflow:
1010
name: Trigger Workflow
1111
runs-on: ubuntu-latest
12-
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository_owner == 'spring-projects' }}
12+
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' && startsWith(github.ref, 'refs/heads/') }}
1313
steps:
1414
- name: Checkout
1515
id: checkout

0 commit comments

Comments
 (0)