22 lines
589 B
YAML
22 lines
589 B
YAML
name: Trigger Dependabot Auto Merge Forward
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
|
|
permissions: read-all
|
|
|
|
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' }}
|
|
steps:
|
|
- name: Checkout
|
|
id: checkout
|
|
uses: actions/checkout@v4
|
|
- id: trigger
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
|
|
run: gh workflow run dependabot-auto-merge-forward.yml -r main
|