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

Do not try to run trigger dependabot automerge workflow in PRs

Issue gh-14535
This commit is contained in:
Marcus Hert Da Coregio
2024-02-13 10:45:08 -03:00
parent c2a589734c
commit 731cd6131b
@@ -9,7 +9,7 @@ jobs:
trigger-worflow:
name: Trigger Workflow
runs-on: ubuntu-latest
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository_owner == 'spring-projects' }}
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' && startsWith(github.ref, 'refs/heads/') }}
steps:
- name: Checkout
id: checkout