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
1 changed files with 1 additions and 1 deletions

View File

@ -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