-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
42 lines (42 loc) · 2.1 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'Backlog Notifier'
description: 'Automatically comments on tickets connected to your PRs, with the release version, when they get released.'
inputs:
repo-references:
description: 'Unique, human readable (1) identifiers and (2) repository names in JSON format. (1) are used as prefixes for issue numbers in PR description bodies. (2) The names of the linked repositories. Both are specified as list of associated arrays. You can specify as many ID/repo combinations as you want. The identifiers should be single words, like BACKLOG or BUGLOG which e.g. could identify repos for backlog and bug tickets. The ID, as the action searches it in the PR description, should be the prefix of the issue number. Prefix and the issue number must be separated by a dash, e.g. `BACKLOG-539`.'
required: true
default: |
{
"data": [
{"repo_id": "BACKLOG", "repo_name": "backlog"}
]
}
message:
description: 'The message that is posted in the backlog ticket. Use `#` as placeholder for the version number.'
required: false
default: 'This issue has been resolved in version # 🚀'
changelog-path:
description: 'The path to the CHANGELOG.md file. Defaults to CHANGELOG.md'
required: false
default: 'CHANGELOG.md'
action:
description: 'The action performed by this GitHub Action. Possible values are `notify` and `move`. Notify is the default and creates comments on tickets. Move can move an issue to a new lane on a GitHub Issues board.'
required: false
default: 'notify'
project-number:
description: 'The number of the project where the issue should be moved.'
required: false
default: 1
updating-field:
description: 'The name of the field that should be updated. It is not restricted to Status. You can update any "single selection field", e.g. the custom field "Priority".'
required: false
default: 'Status'
new-field-value:
description: 'The value the respecting field should be updated to.'
required: false
default: 'Done'
branding:
icon: 'bell'
color: 'green'
runs:
using: 'node20'
main: './dist/index.js'