Skip to content

Commit 2bfdb0c

Browse files
Only run workflow for branches that matches [5-9]+.[5-9]+.x
Issue gh-14535
1 parent 2ed7b85 commit 2bfdb0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/trigger-dependabot-auto-merge-forward.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ name: Trigger Dependabot Auto Merge Forward
22

33
on:
44
push:
5+
branches:
6+
- [5-9]+.[5-9]+.x
57

68
permissions: read-all
79

810
jobs:
911
trigger-worflow:
1012
name: Trigger Workflow
1113
runs-on: ubuntu-latest
12-
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' && startsWith(github.ref, 'refs/heads/') }}
14+
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
1315
steps:
1416
- name: Checkout
1517
id: checkout

0 commit comments

Comments
 (0)