Skip to content

Commit 81ea729

Browse files
committed
📦 Chore: update actions
1 parent b16ae27 commit 81ea729

6 files changed

Lines changed: 89 additions & 11 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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ on:
1818
jobs:
1919
build-and-publish:
2020
runs-on: ubuntu-latest
21-
permissions:
22-
contents: read
23-
packages: write
2421
steps:
2522
- name: Checkout
2623
uses: actions/checkout@v4
@@ -34,7 +31,7 @@ jobs:
3431
- name: Setup Node.js
3532
uses: actions/setup-node@v6
3633
with:
37-
node-version: 22
34+
node-version: 25
3835
registry-url: https://registry.npmjs.org
3936
cache: pnpm
4037

@@ -44,14 +41,17 @@ jobs:
4441
- name: Build
4542
run: pnpm run build
4643

44+
- name: Unset NODE_AUTH_TOKEN
45+
run: unset NODE_AUTH_TOKEN
46+
4747
- name: Publish (master)
4848
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
49-
run: pnpm publish --access public
49+
run: npm publish --access public --provenance
5050

5151
- name: Publish (alpha)
5252
if: github.event_name == 'push' && github.ref == 'refs/heads/alpha'
53-
run: pnpm publish --tag alpha --access public
53+
run: npm publish --tag alpha --access public --provenance
5454

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

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@
2323

2424
![picgo-core](https://cdn.jsdelivr.net/gh/Molunerfinn/test/picgo/picgo-core-fix.jpg)
2525

26-
A tool for picture uploading. Both CLI & api supports. It also supports plugin system, please check [Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo) to find powerful plugins.
26+
A tool for image uploading. Both CLI & api supports. It also supports plugin system, please check [Awesome-PicGo](https://github.com/PicGo/Awesome-PicGo) to find powerful plugins.
2727

28-
**Typora supports PicGo-Core natively**. If you like PicGo-Core and have time, welcome to help me translate the documentation of PicGo-Core into English.
28+
More details please see the [Homepage](https://picgo.app/) of PicGo.
29+
30+
**Typora supports PicGo-Core natively**.
2931

3032
## Installation
3133

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "picgo",
33
"version": "2.0.0",
4-
"description": "A tool for picture uploading",
4+
"description": "A tool for image uploading",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",
77
"typings": "dist/index.d.ts",
@@ -121,7 +121,7 @@
121121
},
122122
"repository": {
123123
"type": "git",
124-
"url": "git+https://github.com/PicGo/PicGo-Core.git"
124+
"url": "https://github.com/PicGo/PicGo-Core"
125125
},
126126
"picBed": {
127127
"current": "smms"

0 commit comments

Comments
 (0)