Files
spring-security-samples/.github/workflows/trigger-auto-merge-forward.yml
Marcus Hert Da Coregio 00eaa1d803 Fix repository name
2024-02-22 14:59:46 -03:00

23 lines
558 B
YAML

name: Trigger Auto Merge Forward
on:
push:
branches:
- '*.x'
permissions: read-all
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-samples' }}
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- id: trigger
env:
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
run: gh workflow run auto-merge-forward.yml -r main