@vavt/github-action-test 0.5.1 → 0.6.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.
|
@@ -239,6 +239,8 @@ jobs:
|
|
|
239
239
|
continue
|
|
240
240
|
fi
|
|
241
241
|
|
|
242
|
+
ISSUE_STATE="$(printf '%s' "${ISSUE_PAYLOAD}" | jq -r '.state // ""')"
|
|
243
|
+
|
|
242
244
|
if gh api "repos/${GITHUB_REPOSITORY}/issues/${ISSUE_ID}/comments?per_page=100" \
|
|
243
245
|
--jq '.[] | select(.body | contains("'"${MARKER}"'")) | .id' \
|
|
244
246
|
| grep -q .; then
|
|
@@ -257,4 +259,13 @@ jobs:
|
|
|
257
259
|
-f "body=${COMMENT_BODY}" >/dev/null
|
|
258
260
|
|
|
259
261
|
echo "Notified issue #${ISSUE_ID}."
|
|
262
|
+
|
|
263
|
+
if [ "${ISSUE_STATE}" = "open" ]; then
|
|
264
|
+
gh api "repos/${GITHUB_REPOSITORY}/issues/${ISSUE_ID}" \
|
|
265
|
+
--method PATCH \
|
|
266
|
+
-f state=closed >/dev/null
|
|
267
|
+
echo "Closed issue #${ISSUE_ID}."
|
|
268
|
+
else
|
|
269
|
+
echo "Issue #${ISSUE_ID} already closed."
|
|
270
|
+
fi
|
|
260
271
|
done <<< "${ISSUE_IDS}"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,56 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
4
8
|
<!-- next-release -->
|
|
5
9
|
|
|
10
|
+
## 0.5.2 (2026-03-01)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- None
|
|
15
|
+
|
|
16
|
+
### Refactors
|
|
17
|
+
|
|
18
|
+
- None
|
|
19
|
+
|
|
20
|
+
### Fixed Bugs
|
|
21
|
+
|
|
22
|
+
- 测试关闭BUG2 ([595dc1b](https://github.com/imzbf/github-action-test/commit/595dc1b1272223ee497dc62326b104939b7dc925))
|
|
23
|
+
|
|
24
|
+
### Others
|
|
25
|
+
|
|
26
|
+
- ci: 测试评论BUG3 ([777ad35](https://github.com/imzbf/github-action-test/commit/777ad3587c6d6a20d58fe7656a07bc2a025ea4fa))
|
|
27
|
+
|
|
28
|
+
**Full Changelog**: [v0.5.1...v0.5.2](https://github.com/imzbf/github-action-test/compare/v0.5.1...v0.5.2)
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 0.5.1 (2026-03-01)
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- None
|
|
37
|
+
|
|
38
|
+
### Refactors
|
|
39
|
+
|
|
40
|
+
- None
|
|
41
|
+
|
|
42
|
+
### Fixed Bugs
|
|
43
|
+
|
|
44
|
+
- 测试issue ([ab4da64](https://github.com/imzbf/github-action-test/commit/ab4da649f116e8e034fb2c2d04239f7c2b9636de))
|
|
45
|
+
|
|
46
|
+
### Others
|
|
47
|
+
|
|
48
|
+
- None
|
|
49
|
+
|
|
50
|
+
**Full Changelog**: [v0.5.0...v0.5.1](https://github.com/imzbf/github-action-test/compare/v0.5.0...v0.5.1)
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
6
54
|
## 0.5.0 (2026-02-28)
|
|
7
55
|
|
|
8
56
|
### Features
|
package/package.json
CHANGED
package/src/main.jsx
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: 创建一个Bug
|
|
2
|
-
description: 描述一下这个Bug
|
|
3
|
-
labels:
|
|
4
|
-
- 'type: bug'
|
|
5
|
-
- needs-triage
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: 感谢您的参与。如果您正在寻求帮助,请从[此处](https://github.com/imzbf/md-editor-v3/discussions)创建讨论。
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: description
|
|
12
|
-
attributes:
|
|
13
|
-
label: 描述这个Bug
|
|
14
|
-
validations:
|
|
15
|
-
required: true
|
|
16
|
-
- type: input
|
|
17
|
-
id: version
|
|
18
|
-
attributes:
|
|
19
|
-
label: 版本号
|
|
20
|
-
description: 描述您的开发环境,例如编辑器、`nodejs`、浏览器的版本等。
|
|
21
|
-
validations:
|
|
22
|
-
required: true
|
|
23
|
-
- type: input
|
|
24
|
-
id: reproduction
|
|
25
|
-
attributes:
|
|
26
|
-
label: 问题重现链接
|
|
27
|
-
description: 如果您提供在线代码环境或代码存储库或代码的`zip`文件,它可以帮助我快速发现问题。
|
|
28
|
-
validations:
|
|
29
|
-
required: false
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
name: 功能建议
|
|
2
|
-
description: 为这个项目提供一个很棒的想法
|
|
3
|
-
labels:
|
|
4
|
-
- 'type: feature'
|
|
5
|
-
- needs-triage
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: 感谢您的参与。
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: description
|
|
12
|
-
attributes:
|
|
13
|
-
label: 一个很棒的想法
|
|
14
|
-
validations:
|
|
15
|
-
required: true
|