Enable auto-merge on a pull request in any repo from any CI
Github token to perform the action with.
Organization/user which owns the repo.
repo name.
Pull request number.
One of "SQUASH", "MERGE" or "REBASE". Default is "SQUASH".
- name: Enable automerge on a repository
uses: aspecto-io/enable-pr-automerge-action@master
with:
token: ${{ secrets.MY_GITHUB_TOKEN }}
owner: 'my-org'
repo: 'my-repo'
pull-number: '102'
merge-method: 'SQUASH'