actions-marketplace-validations/Fast Forward Merge
Merge a pull request by fast forwarding the target branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| merge | Whether to actually merge the pull request or only check whether fast forwarding is possible. If true, the action will fast forward the target branch, if possible. If false, the action will only post a comment indicating whether it is possible to fast forward the target branch. | — | false |
| comment | Whether to post a comment. If set to true or always, this posts a comment to the pull request indicating whether it is possible to fast-forward the target branch, and, if merge is true, whether fast forwarding succeeded. If set to on-error (the default), a comment is only posted if an error occurs. If false or never, no comment is posted. The comment is still available via the comment output variable, and in the step's summary. | — | on-error |
| debug | Enables debugging output. If set to 1 or true, increases the workflow's verbosity. This may also execute some additional RPCs, and so should normally be disabled. | — | 0 |
Outputs
| name | description |
|---|---|
| comment | The comment. A comment explaining whether fast forwarding is possible, and, if `merge` is true, whether it was successful. The comment is a JSON document with a single field, `body`. |