-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (31 loc) · 1.03 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
name: 'Milestones from label'
description: 'This action assigns pull-requests to milestones based on labels, assuming semantic versioning.'
inputs:
repo-token:
description: 'The GITHUB_TOKEN token for changing the pull-request milestone'
required: true
bugfix-labels:
description: 'Comma-separated list of labels indicating a bug-fix.'
required: false
default: 'bug,documentation'
minor-labels:
description: 'Comma-separated list of labels indicating a minor version PR'
required: false
default: 'enhancement'
major-labels:
description: 'Comma-separated list of labels indicating a major version PR'
required: false
default: 'breaking'
fallback:
description: 'Milestone to fallback to if none of the above applies. Can be "bugfix", "minor", "major" or empty to disable fallbacks.'
required: false
default: 'minor'
outputs:
milestone:
description: 'The milestone assigned to the pull-request'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'flag'
color: 'orange'