Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
161 lines (160 loc) · 6.76 KB
/
Copy pathaction.yml
File metadata and controls
161 lines (160 loc) · 6.76 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
name: 'GitHub Tag'
description: 'Bump and push git tag on merge'
author: 'Mathieu Dutour'
outputs:
prerelease:
description: 'Whether the calculated version is a prerelease'
latest_release_tag:
description: 'Latest stable tag in the selected tag stream'
latest_release_version:
description: 'Latest stable version without the tag prefix'
changelog_url:
description: 'Comparison URL, or commit history URL for the initial release'
new_tag:
description: 'Generated tag'
new_version:
description: 'Generated tag without the prefix'
previous_tag:
description: 'Previous tag (or `0.0.0`)'
previous_version:
description: 'The value of the previous tag (or 0.0.0 if none) without the prefix. Available with custom_tag as well.'
release_type:
description: 'The computed release type (`major`, `minor`, `patch` or `custom` - can be prefixed with `pre`)'
changelog:
description: 'The conventional changelog since the previous tag'
inputs:
previous_version:
description: 'Explicit semantic baseline; pair with previous_tag to analyze a non-semantic existing Git tag.'
required: false
commit_analyzer_preset:
description: 'Commit parser used for both version analysis and changelog: conventionalcommits or angular.'
required: false
default: 'conventionalcommits'
preset_config:
description: 'JSON object of conventional changelog preset options, including issuePrefixes and issueUrlFormat.'
required: false
path_filter:
description: 'Comma-separated repository-relative directories or file globs. Only commits changing matching files are considered.'
required: false
scopes:
description: 'Comma-separated conventional commit scope globs to include.'
required: false
ignore_keywords:
description: 'Comma-separated literal keywords that exclude a commit from both bump and changelog.'
required: false
default: '[no-release],[skip-release]'
parse_squash_commits:
description: 'Also analyze conventional subjects in squash-commit bullet lists. Opt-in; use conventional PR titles by default.'
required: false
default: 'false'
tag_search_pattern:
description: 'Glob pattern selecting the tag stream, e.g. v1.*.'
required: false
prefix_match_tag:
description: 'Reject an extra v prefix after tag_prefix, including when tag_prefix is empty.'
required: false
default: 'false'
force_bump:
description: 'Explicit release bump overriding commit analysis, including with no new commits.'
required: false
force_prerelease_bump:
description: 'Explicit prerelease bump overriding analysis and RC progression.'
required: false
default_draft_bump:
description: 'Initial prerelease bump; defaults to default_bump, or patch when default_bump is false.'
required: false
previous_tag:
description: 'Explicit previous Git tag; use previous_version as well for a non-semantic tag.'
required: false
initial_version:
description: 'Semantic baseline used when there are no matching stable tags.'
required: false
default: '0.0.0'
custom_tag_prerelease:
description: 'Treat custom_tag as the target semantic version and append/increment the prerelease identifier.'
required: false
default: 'false'
force_update:
description: 'Allow moving an existing tag to the selected commit.'
required: false
default: 'false'
rolling_tags:
description: 'Update major and major.minor aliases after publishing a stable semantic version.'
required: false
default: 'false'
push:
description: 'Publish tags to GitHub. False creates the calculated tag only in the local checkout.'
required: false
default: 'true'
create_local_tag:
description: 'Also create the calculated tag in the local checkout.'
required: false
default: 'false'
working_directory:
description: 'Checkout directory used for local Git operations and compare fallback.'
required: false
repository:
description: 'Target repository as owner/repo; defaults to GITHUB_REPOSITORY.'
required: false
repository_url:
description: 'Repository URL used in the changelog; defaults to the selected repository on GITHUB_SERVER_URL.'
required: false
ref:
description: 'Branch/ref override for workflow_dispatch or issue_comment; commit_sha takes precedence for the target commit.'
required: false
soft_fail:
description: 'Warn instead of failing on errors; clears calculated release outputs so downstream steps can skip.'
required: false
default: 'false'
github_token:
description: 'Required for permission to tag the repo.'
required: true
default_bump:
description: 'Which type of bump to use when none explicitly provided when commiting to a release branch (default: `patch`).'
required: false
default: 'patch'
default_prerelease_bump:
description: 'Which type of bump to use when none explicitly provided when commiting to a prerelease branch (default: `prerelease`).'
required: false
default: 'prerelease'
tag_prefix:
description: 'A prefix to the tag name (default: `v`).'
required: false
default: 'v'
append_to_pre_release_tag:
description: 'A suffix to a pre-release tag name (default: `<branch>`).'
required: false
custom_tag:
description: 'Custom tag name. If specified, it overrides bump settings.'
required: false
custom_release_rules:
description: 'Comma separated list of release rules. Format: `<keyword>:<release_type>`. Example: `hotfix:patch,pre-feat:preminor`.'
required: false
release_branches:
description: 'Comma separated list of branches (JavaScript regular expressions accepted) that will generate the release tags. Other branches and pull-requests generate versions postfixed with the commit hash and do not generate any tag. Examples: `master` or `.*` or `release.*,hotfix.*,master`...'
required: false
default: '^master$,^main$'
pre_release_branches:
description: 'Comma separated list of branches (JavaScript regular expressions accepted) that will generate pre-release tags.'
required: false
commit_sha:
description: 'The commit SHA value to add the tag. If specified, it uses this value instead GITHUB_SHA. It could be useful when a previous step merged a branch into github.ref.'
required: false
create_annotated_tag:
description: 'Boolean to create an annotated tag rather than lightweight.'
required: false
default: 'false'
fetch_all_tags:
description: 'Fetch all tag pages. False fails if a full page may conceal more tags.'
required: false
default: 'true'
dry_run:
description: 'Do not perform tagging, just calculate next version and changelog, then exit.'
required: false
default: 'false'
runs:
using: 'node24'
main: 'dist/index.js'
branding:
icon: 'git-merge'
color: 'purple'