action-merge

Merge PRs based on label and checks

APACHE-2.0 License

Stars
6
Committers
1

action-merge

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 }}