-
Notifications
You must be signed in to change notification settings - Fork 33
/
action.yml
25 lines (25 loc) · 1.47 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: 'Fast Forward PR'
description: 'Merge pull request using fast forward only, if possible, moving base branch (target branch) to head branch (source branch)'
inputs:
GITHUB_TOKEN:
description: 'Automatically provided token, that can be used to authenticate on behalf of the GitHub action, with permissions limited to the repository that contains your workflow'
success_message:
description: 'Generic success message, will be commented on the pull request, if pull-request fast forward succeeds.'
failure_message:
description: 'Generic failure message, Will be commented on the pull request, if pull-request fast forward fails.'
update_status:
description: 'Optional, if true, the status API is used to set failure or success as a state for the commit, which can be used to gate merging. Default value is false.'
failure_message_same_stage_and_prod:
description: 'Optional, failure message, when pull-request fast forward fails, and staging branch equals production branch'
failure_message_diff_stage_and_prod:
description: 'Optional, failure message, when pull-request fast forward fails, and staging branch and production branch are at different commits'
production_branch:
description: 'Optional, production branch name. Default value is master.'
staging_branch:
description: 'Optional, staging or preproduction branch name. Default value is staging.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'git-merge'
color: 'green'