trigger-auto-merge-forward.yml 466 B

123456789101112131415161718192021
  1. name: Trigger Auto Merge Forward
  2. on:
  3. push:
  4. permissions:
  5. contents: write
  6. jobs:
  7. trigger-worflow:
  8. name: Trigger Workflow
  9. runs-on: ubuntu-latest
  10. if: github.event.commits[0].author.username == 'dependabot[bot]'
  11. steps:
  12. - name: Checkout
  13. id: checkout
  14. uses: actions/checkout@v4
  15. - id: trigger
  16. env:
  17. GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
  18. run: gh workflow run auto-merge-forward.yml -r main