Skip to content

Commit 331d172

Browse files
committed
chore: fix workflow
1 parent 939b524 commit 331d172

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ on:
66

77
permissions:
88
contents: write
9-
pull-requests: write # 用于 Changesets 评论 PR
9+
pull-requests: write # 用于 Changesets 创建 PR
1010
id-token: write
1111
pages: write # 必须:部署 Pages 需要
1212
deployments: write
1313

14+
concurrency: ${{ github.workflow }}-${{ github.ref }} # 避免重复发布,旧的action运行完成后才会执行新的
15+
1416
jobs:
1517
# 任务 1:发布到 npm
1618
release:

0 commit comments

Comments
 (0)