@vavt/github-action-test 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/labels.yml +1 -50
- package/.github/release.yml +0 -5
- package/.github/workflows/latest.yml +25 -9
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
package/.github/labels.yml
CHANGED
|
@@ -130,55 +130,6 @@
|
|
|
130
130
|
- name: skip-changelog
|
|
131
131
|
color: ffffff
|
|
132
132
|
description: Exclude from release notes and changelog
|
|
133
|
-
|
|
134
|
-
- name: bug
|
|
135
|
-
color: d73a4a
|
|
136
|
-
description: Legacy alias of type bug
|
|
137
|
-
- name: documentation
|
|
138
|
-
color: 0075ca
|
|
139
|
-
description: Legacy alias of type docs
|
|
140
|
-
- name: enhancement
|
|
141
|
-
color: a2eeef
|
|
142
|
-
description: Legacy alias of type feature
|
|
143
|
-
- name: question
|
|
144
|
-
color: d876e3
|
|
145
|
-
description: Legacy alias of type question
|
|
146
|
-
- name: duplicate
|
|
147
|
-
color: cfd3d7
|
|
148
|
-
description: Legacy alias of resolution duplicate
|
|
149
|
-
- name: invalid
|
|
150
|
-
color: e4e669
|
|
151
|
-
description: Legacy alias of resolution invalid
|
|
152
|
-
- name: optimize
|
|
153
|
-
color: fbca04
|
|
154
|
-
description: Legacy alias of type performance
|
|
155
|
-
- name: not bug
|
|
156
|
-
color: f9d0c4
|
|
157
|
-
description: Legacy alias of resolution not-bug
|
|
158
|
-
- name: need demo
|
|
159
|
-
color: 00bcd4
|
|
160
|
-
description: Legacy alias of needs-demo
|
|
161
|
-
- name: no example
|
|
162
|
-
color: ff9800
|
|
163
|
-
description: Legacy alias of needs-repro
|
|
164
|
-
- name: mobile
|
|
165
|
-
color: 6f42c1
|
|
166
|
-
description: Legacy alias of area mobile
|
|
167
|
-
- name: mermaid
|
|
168
|
-
color: 6a5acd
|
|
169
|
-
description: Legacy alias of area mermaid
|
|
170
|
-
- name: katex
|
|
171
|
-
color: 1f6feb
|
|
172
|
-
description: Legacy alias of area katex
|
|
173
|
-
- name: WYSIWYG
|
|
174
|
-
color: b76e79
|
|
175
|
-
description: Legacy alias of area wysiwyg
|
|
176
|
-
- name: cdn
|
|
177
|
-
color: b08800
|
|
178
|
-
description: Legacy alias of area cdn
|
|
179
|
-
- name: cropper
|
|
180
|
-
color: 0052cc
|
|
181
|
-
description: Legacy alias of area upload
|
|
182
133
|
- name: v4xss
|
|
183
134
|
color: 8b0000
|
|
184
|
-
description:
|
|
135
|
+
description: Security issues that only affect v4.x
|
package/.github/release.yml
CHANGED
|
@@ -7,15 +7,12 @@ changelog:
|
|
|
7
7
|
- title: Features
|
|
8
8
|
labels:
|
|
9
9
|
- 'type: feature'
|
|
10
|
-
- enhancement
|
|
11
10
|
- title: Performance
|
|
12
11
|
labels:
|
|
13
12
|
- 'type: performance'
|
|
14
|
-
- optimize
|
|
15
13
|
- title: Bug Fixes
|
|
16
14
|
labels:
|
|
17
15
|
- 'type: bug'
|
|
18
|
-
- bug
|
|
19
16
|
- title: Security
|
|
20
17
|
labels:
|
|
21
18
|
- 'type: security'
|
|
@@ -24,7 +21,6 @@ changelog:
|
|
|
24
21
|
- title: Documentation
|
|
25
22
|
labels:
|
|
26
23
|
- 'type: docs'
|
|
27
|
-
- documentation
|
|
28
24
|
- title: Maintenance
|
|
29
25
|
labels:
|
|
30
26
|
- 'type: refactor'
|
|
@@ -35,4 +31,3 @@ changelog:
|
|
|
35
31
|
labels:
|
|
36
32
|
- skip-changelog
|
|
37
33
|
- 'type: question'
|
|
38
|
-
- question
|
|
@@ -70,18 +70,34 @@ jobs:
|
|
|
70
70
|
|
|
71
71
|
NOTES="$(gh release view "${TAG_NAME}" --json body --jq '.body')"
|
|
72
72
|
DATE="$(date -u +%Y-%m-%d)"
|
|
73
|
+
MARKER='<!-- next-release -->'
|
|
73
74
|
|
|
74
|
-
printf '## %s (%s)\n\n%s\n
|
|
75
|
+
printf '## %s (%s)\n\n%s\n' \
|
|
75
76
|
"${TAG_NAME}" \
|
|
76
77
|
"${DATE}" \
|
|
77
|
-
"${NOTES}"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
"${NOTES}" > /tmp/release-entry.md
|
|
79
|
+
|
|
80
|
+
grep -vF "${MARKER}" CHANGELOG.md > /tmp/changelog-base.md || true
|
|
81
|
+
|
|
82
|
+
FIRST_SECTION_LINE="$(grep -n '^## ' /tmp/changelog-base.md | head -n1 | cut -d: -f1 || true)"
|
|
83
|
+
|
|
84
|
+
if [ -n "${FIRST_SECTION_LINE}" ]; then
|
|
85
|
+
head -n "$((FIRST_SECTION_LINE - 1))" /tmp/changelog-base.md > /tmp/changelog-prefix.md
|
|
86
|
+
tail -n "+${FIRST_SECTION_LINE}" /tmp/changelog-base.md > /tmp/changelog-sections.md
|
|
87
|
+
else
|
|
88
|
+
cp /tmp/changelog-base.md /tmp/changelog-prefix.md
|
|
89
|
+
: > /tmp/changelog-sections.md
|
|
90
|
+
fi
|
|
91
|
+
|
|
92
|
+
{
|
|
93
|
+
cat /tmp/changelog-prefix.md
|
|
94
|
+
printf '\n%s\n\n' "${MARKER}"
|
|
95
|
+
cat /tmp/release-entry.md
|
|
96
|
+
if [ -s /tmp/changelog-sections.md ]; then
|
|
97
|
+
printf '\n'
|
|
98
|
+
cat /tmp/changelog-sections.md
|
|
99
|
+
fi
|
|
100
|
+
} > /tmp/CHANGELOG.md
|
|
85
101
|
|
|
86
102
|
mv /tmp/CHANGELOG.md CHANGELOG.md
|
|
87
103
|
|
package/CHANGELOG.md
CHANGED
|
@@ -10,4 +10,20 @@ All notable changes to this project will be documented in this file.
|
|
|
10
10
|
|
|
11
11
|
**Full Changelog**: https://github.com/imzbf/github-action-test/compare/v0.0.2...v0.0.3
|
|
12
12
|
|
|
13
|
+
## v0.0.4 (2026-02-28)
|
|
14
|
+
|
|
15
|
+
<!-- Release notes generated using configuration in .github/release.yml at v0.0.4 -->
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
**Full Changelog**: https://github.com/imzbf/github-action-test/compare/v0.0.3...v0.0.4
|
|
20
|
+
|
|
21
|
+
## v0.0.5 (2026-02-28)
|
|
22
|
+
|
|
23
|
+
<!-- Release notes generated using configuration in .github/release.yml at v0.0.5 -->
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
**Full Changelog**: https://github.com/imzbf/github-action-test/compare/v0.0.4...v0.0.5
|
|
28
|
+
|
|
13
29
|
<!-- next-release -->
|