-
Notifications
You must be signed in to change notification settings - Fork 44
/
action.yml
61 lines (61 loc) · 1.92 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
56
57
58
59
60
61
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
excludeScopes:
description: Scopes to exclude from the Changelog
required: false
default: ''
restrictToTypes:
description: Types to restrict to for the Changelog (overrides excludeTypes if defined)
required: false
default: ''
writeToFile:
description: Should CHANGELOG.md be updated with latest changelog
required: false
default: 'true'
changelogFilePath:
description: Path to the changelog file
required: false
default: 'CHANGELOG.md'
includeRefIssues:
description: Should the changelog include the issues referenced for each PR.
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'
reverseOrder:
description: List commits in reverse order (from newer to older) instead of the default (older to newer).
required: false
default: 'false'
outputs:
changes:
description: Generated changelog
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: wind
color: red