1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Only run workflow for branches that matches [5-9]+.[5-9]+.x

Issue gh-14535
This commit is contained in:
Marcus Hert Da Coregio
2024-02-14 01:15:16 -03:00
parent 2ed7b857c3
commit 2bfdb0c6cd
@@ -2,6 +2,8 @@ name: Trigger Dependabot Auto Merge Forward
on:
push:
branches:
- [5-9]+.[5-9]+.x
permissions: read-all
@@ -9,7 +11,7 @@ jobs:
trigger-worflow:
name: Trigger Workflow
runs-on: ubuntu-latest
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' && startsWith(github.ref, 'refs/heads/') }}
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
steps:
- name: Checkout
id: checkout