Merge GitHub actions based on checks and labels.
Example config -
name: Auto-merge pull request
on: pull_request
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@master
with:
checks: lint,build,test
labels: automerge
strategy: squash
token: ${{ secrets.GITHUB_TOKEN }}