/action-merge

Merge PRs based on label and checks

Primary LanguageTypeScriptApache License 2.0Apache-2.0

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