merge-dependabot-upgrades.yml 703 B

123456789101112131415161718192021222324
  1. # See https://github.com/ridedott/merge-me-action/
  2. # This workflow automates merges from patches sent by Dependabot, and
  3. # only by dependabot, once the other CI workflows pass
  4. name: Auto-merge Dependabot PRs
  5. on:
  6. workflow_run:
  7. types:
  8. - completed
  9. workflows:
  10. - "build"
  11. jobs:
  12. merge-me:
  13. name: Auto-merge Dependabot PRs
  14. runs-on: ubuntu-latest
  15. steps:
  16. - name: Auto-Merge
  17. if: ${{ github.event.workflow_run.conclusion == 'success' }}
  18. uses: ridedott/merge-me-action@v2.10.56
  19. with:
  20. # This must be used as GitHub Actions token does not support pushing
  21. # to protected branches.
  22. GITHUB_TOKEN: ${{ secrets.MERGE_TOKEN }}