Skip to content

Commit 9762dc9

Browse files
authored
chore: fix trusted publish (#737)
* chore: fix trusted publish * chore: fix trusted publish * chore: fix trusted publish
1 parent 8d2ccaf commit 9762dc9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/publish-site-components.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: publish-site-components
22

3+
permissions:
4+
contents: read
5+
id-token: write
6+
37
on:
48
pull_request:
59
branches: [main]
@@ -25,7 +29,7 @@ jobs:
2529
- run: pnpm install
2630

2731
- run: pnpm -F @tdesign/site-components run build
28-
32+
2933
- run: npm i -g npm@latest
3034

3135
- name: Publish Package

.github/workflows/publish-theme-generator.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: publish-theme-generator
22

3+
permissions:
4+
contents: read
5+
id-token: write
6+
37
on:
48
pull_request:
59
branches: [main]

0 commit comments

Comments
 (0)