Skip to content

Commit b8852d9

Browse files
authored
Add input documentation
1 parent 30b6e83 commit b8852d9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,16 @@ This action is a fork of https://github.com/tibdex/backport, it adds support for
1515

1616
_Note:_ multiple backport labels can be added.
1717
For example, if a pull request has the labels `backport staging` and `backport production` it will be backported to both branches: `staging` and `production`.
18+
19+
20+
## Customizing
21+
22+
### inputs
23+
24+
Following inputs can be used as `step.with` keys
25+
26+
| Name | Type | Description |
27+
|--------------------|---------|-----------------------------------|
28+
| `add_labels` | String | Comma separated list of labels to add to the backport PR. |
29+
| `github_token` | String | Token for the GitHub API. Set this to a personal access token (PAT) if you want github workflows to run on the opened PR. |
30+
| `title_template` | String | Template for the title of the opened PR. E.g. `[Backport {{base}}] {{originalTitle}}` |

0 commit comments

Comments
 (0)