forked from requarks/changelog-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
55 lines (55 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
name: 'Changelog from Conventional Commits'
description: 'Generate and update the CHANGELOG from conventional commits since latest tag or from a given tag range'
author: Nicolas Giard
inputs:
token:
description: GitHub Token
required: true
tag:
description: The latest tag (which triggered this job) (only if using latest tag)
required: false
fromTag:
description: The tag from which the changelog is to be determined (only if using tag range)
required: false
toTag:
description: The tag up to which the changelog is to be determined (only if using tag range)
required: false
excludeTypes:
description: Types to exclude from the Changelog
required: false
default: build,docs,other,style
writeToFile:
description: Should CHANGELOG.md be updated with latest changelog
required: false
default: 'true'
includeRefIssues:
description: Should the changelog include the issues referenced for each PR.
required: false
default: 'true'
includeBreaking:
description: Should the changelog include the breaking changes.
required: false
default: 'true'
useGitmojis:
description: Prepend type headers with their corresponding gitmoji
required: false
default: 'true'
includeInvalidCommits:
description: Whether to include commits that don't respect the Conventional Commits format
required: false
default: 'false'
formatForSlack:
description: Whether to format for slack which has it's own kind of markdown formatting
required: false
default: 'false'
outputs:
changes:
description: Generated changelog
changesForSlack:
description: Generated changelog formatted for slack (only when formatForSlack is set to true)
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: wind
color: red