-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
31 lines (29 loc) · 954 Bytes
/
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
name: 'conventional-release-labels'
description: "automatically adds labels to pull requests based on Conventional Commits. Works with GitHub automated releases"
author: Benjamin Coe
inputs:
token:
description: 'GitHub token for applying labels, defaults to using secrets.GITHUB_TOKEN'
required: false
default: ${{ github.token }}
type_labels:
description: 'what labels to apply to different conventional commit types'
required: false
default: '{"feat": "feature", "fix": "fix", "breaking": "breaking"}'
type: string
ignored_types:
description: 'Conventional Commit types that should have ignore_label applied'
required: false
default: '["chore"]'
type: string
ignore_label:
description: 'label to apply for ignored commits'
required: false
default: 'ignore-for-release'
type: string
branding:
icon: 'align-justify'
color: 'yellow'
runs:
using: 'node12'
main: 'dist/index.js'