Skip to content

Commit cacd423

Browse files
committed
📦 Chore: update actions
1 parent 1d6a373 commit cacd423

4 files changed

Lines changed: 79 additions & 3 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: "🐛 Bug Report"
2+
description: 提交一个问题 / Report a bug
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
assignees:
6+
- molunerfinn
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |+
11+
## PicGo Issue 模板
12+
13+
请依照该模板来提交,否则将会被关闭。
14+
**提问之前请注意你看过 FAQ、文档以及那些被关闭的 issues。否则同样的提问也会被关闭!**
15+
16+
Please submit according to this template, otherwise it will be closed.
17+
**Before asking a question, please note that you have read the FAQ, Doc, and those closed issues. Otherwise the same question will also be closed! **
18+
19+
- type: checkboxes
20+
id: read
21+
attributes:
22+
label: 前置阅读 | Pre-reading
23+
description: 我已经自行查找、阅读以下内容(阅读了请打勾) | I have searched and read the following on my own (Please tick after reading)
24+
options:
25+
- label: "[文档/Doc](https://docs.picgo.app/core/)"
26+
required: true
27+
- label: "[Issues](https://github.com/PicGo/PicGo-Core/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)"
28+
required: true
29+
- type: textarea
30+
id: reproduce
31+
attributes:
32+
label: 问题重现 | Bug reproduce
33+
description: 请复述Bug重现流程,必要时附图 | Please tell me the bug reproduction process, attach pictures if necessary
34+
validations:
35+
required: true
36+
- type: textarea
37+
id: log
38+
attributes:
39+
label: 相关日志 | Logs
40+
description: 请附上 PicGo 的相关报错日志(用文本的形式)。`~/.picgo/picgo.log` | Please attach PicGo's relevant error log (in text form). The error log can be found in `~/.picgo/picgo.log`

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "✨ Feature Request"
2+
description: 功能请求 / Feature request
3+
title: "[Feature]: "
4+
labels: ["feature request"]
5+
assignees:
6+
- molunerfinn
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: |+
11+
## PicGo Issue 模板
12+
13+
请依照该模板来提交,否则将会被关闭。
14+
**提问之前请注意你看过 FAQ、文档以及那些被关闭的 issues。否则同样的提问也会被关闭!**
15+
16+
Please submit according to this template, otherwise it will be closed.
17+
**Before asking a question, please note that you have read the FAQ, Doc, and those closed issues. Otherwise the same question will also be closed! **
18+
19+
- type: checkboxes
20+
id: read
21+
attributes:
22+
label: 前置阅读 | Pre-reading
23+
description: 我已经自行查找、阅读以下内容(阅读了请打勾) | I have searched and read the following on my own (Please tick after reading)
24+
options:
25+
- label: "[文档/Doc](https://docs.picgo.app/core/)"
26+
required: true
27+
- label: "[Issues](https://github.com/PicGo/PicGo-Core/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed)"
28+
required: true
29+
- type: textarea
30+
id: reproduce
31+
attributes:
32+
label: 功能请求 | Feature request
33+
description: 详细描述你所预想的功能或者是现有功能的改进 | Describe in detail the features you envision or improvements to existing features
34+
validations:
35+
required: true

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343

4444
- name: Publish (master)
4545
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
46-
run: pnpm publish --access public
46+
run: pnpm publish --access public --provenance
4747

4848
- name: Publish (alpha)
4949
if: github.event_name == 'push' && github.ref == 'refs/heads/alpha'
50-
run: pnpm publish --tag alpha --access public --publish-branch "${{ github.ref_name }}"
50+
run: pnpm publish --tag alpha --access public --publish-branch "${{ github.ref_name }}" --provenance
5151

5252
- name: Publish (manual)
5353
if: github.event_name == 'workflow_dispatch'
54-
run: pnpm publish --tag "${{ inputs.publish_tag || 'latest' }}" --access public --publish-branch "${{ github.ref_name }}"
54+
run: pnpm publish --tag "${{ inputs.publish_tag || 'latest' }}" --access public --publish-branch "${{ github.ref_name }}" --provenance

0 commit comments

Comments
 (0)