A simple GitHub Action for merging pull requests.
steps:
- name: Merge Pull Request
uses: juliangruber/merge-pull-request-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: 1
method: squash # merge rebase
repo: juliangruber/octokit-action
The following outputs can be used by subsequent workflow steps.
commit
- The commit sha of this PR merged
- find-pull-request-action — Find a Pull Request
- approve-pull-request-action — Approve a Pull Request
- octokit-action — Generic Octokit.js Action
MIT