Make trigger-dependabot-auto-merge-forward.yml run on push

Issue gh-14721
This commit is contained in:
Marcus Hert Da Coregio 2024-03-14 15:12:14 -03:00
parent 37984c2e11
commit a6d362fa18
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
name: Trigger Dependabot Auto Merge Forward
on:
pull_request:
types: [closed]
push:
branches:
- '*.x'
permissions: read-all
@ -10,7 +11,7 @@ jobs:
trigger-worflow:
name: Trigger Workflow
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true && github.actor == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
steps:
- name: Checkout
id: checkout