forked from ScottBrenner/generate-changelog-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.13 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
43
44
name: 'generate-changelog-action'
description: 'GitHub Action for lob/generate-changelog'
author: 'Scott Brenner'
outputs:
changelog:
description: 'Generate changelog'
inputs:
package-dir:
description: 'The path for the package.json if it is not in root'
required: false
default: 'package.json'
from-tag:
description: 'The tag to generate changelog from'
required: false
default: ''
to-tag:
description: 'The tag to generate changelog up to'
required: false
default: ''
type:
description: 'Type of changelog: patch, minor, or major'
required: false
default: ''
exclude:
description: 'Exclude selected commit types (comma separated)'
required: false
default: ''
allow-unknown:
description: 'Allow unknown commit types'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
env:
PACKAGE_DIR: ${{ inputs.package-dir }}
FROM_TAG: ${{ inputs.from-tag }}
TO_TAG: ${{ inputs.to-tag }}
TYPE: ${{ inputs.type }}
EXCLUDE: ${{ inputs.exclude }}
ALLOW_UNKNOWN: ${{ inputs.allow-unknown }}
branding:
icon: 'edit'
color: 'gray-dark'