forked from mikepenz/release-changelog-builder-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
66 lines (66 loc) · 2.96 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
62
63
64
65
66
name: 'Release Changelog Builder'
description: 'A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.'
author: 'Mike Penz'
branding:
icon: 'award'
color: 'green'
inputs:
configuration:
description: 'Defines the relative path to the configuration file.'
path:
description: 'Defines the directory the repo is located in (checkout directory)'
owner:
description: 'Defines the owner of the repository to create the changelog for'
repo:
description: 'Defines the repository to create the changelog for'
fromTag:
description: 'Defines the previous tag to compare against'
toTag:
description: 'Defines the newly tag created'
includeOpen:
description: 'Defines if the changelog should include open PRs'
default: "false"
ignorePreReleases:
description: 'Defines if the action will only use full releases to compare against (Only used if fromTag is not defined). E.g. for 1.0.1... 1.0.0-rc02 <- ignore, 1.0.0 <- pick'
default: "false"
failOnError:
description: 'Defines if the action should result in a build failure, if an error was discovered'
default: "false"
fetchReviewers:
description: 'Will enable fetching the users/reviewers who approved the PR'
default: "false"
commitMode:
description: 'Enables a `light` commit based mode. This mode generates changelogs based on the commits. Please note that this is not officially supported, and lacks a lot of features only possible with PRs.'
default: "false"
outputFile:
description: 'If defined, the changelog will get written to this file. (relative to the checkout dir)'
token:
description: 'Defines the token to use to execute the git API requests with, uses `env.GITHUB_TOKEN` by default'
baseUrl:
description: 'Defines the base url for GitHub Enterprise authentication, uses `https://api.github.com` by default'
text:
description: 'Custom text that can be referred to with the `TEXT` substitution variable in templates'
outputs:
changelog:
description: The built release changelog built from the merged pull requests
pull_requests:
description: A comma seperated list of PR numbers that were merged
owner:
description: Specifies the owner of the repository processed
repo:
description: Describes the repository name, which was processed
fromTag:
description: Defines the `fromTag` which describes the lower bound to process pull requests for
toTag:
description: Defines the `toTag` which describes the upper bound to process pull request for
failed:
description: Defines if there was an issue with the action run, and the changelog may not have been generated correctly. [true, false]
categorized_prs:
description: Count of categorized pull requests
uncategorized_prs:
description: Count of uncategorized pull requests
open_prs:
description: Count of open pull requests. Only fetched if `includeOpen` is enabled.
runs:
using: 'node16'
main: 'dist/index.js'