reitermarkus/Auto-Merge Pull Request
Automatically merge pull requests once they are approved and required status checks are passing.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | A GitHub Token other than the default `GITHUB_TOKEN` needs to be specified in order to be able to trigger other workflows. | yes | ${{ github.token }} |
| merge-method | Specify which merge method to use. By default, will select the first one available in this order: `merge`, `squash`, `rebase` | no | — |
| squash-title | (deprecated) Use the pull request title as the commit message when squashing. Prefer setting squash-commit-title and squash-commit-message. | no | false |
| squash-commit-title | Set the squash commit title to the supplied string. Available template variables include ${pull_request.title} and ${pull_request.number}. | no | — |
| squash-commit-message | Set the squash commit body to the supplied string. Available template variables include ${pull_request.body}. | no | — |
| do-not-merge-labels | When any of the labels in this comma-separated list is applied to a pull request, it will not be merged automatically. | no | — |
| required-labels | Comma-separated list of labels that are required to be applied to a pull request for it to be merged automatically. | no | — |
| pull-request | Try merging the specified pull request automatically. For example, you can pass an input from a `workflow_dispatch` event. | no | — |
| pull-request-author-associations | Comma-separated list of required author associations for the pull request author. (By default, pull requests by any author are allowed.) | no | — |
| review | Try merging the pull request associated with the specified review ID automatically. For example, you can pass an input from a `workflow_dispatch` event. The `pull-request` input is also required if this is specified. | no | — |
| review-author-associations | Comma-separated list of required author associations for the review author. (By default, pull requests reviewed by `OWNER`s, `MEMBER`s and `COLLABORATOR`s are allowed.) | no | OWNER,MEMBER,COLLABORATOR |
| dry-run | If set to `true`, will not actually merge pull requests but still perform all other checks. | yes | false |
Outputs
no outputs