Skip to content

Commit b1d4979

Browse files
authored
chore: fix ci security (#110)
1 parent 6b419ae commit b1d4979

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- uses: actions/checkout@v3
7676
with:
7777
ref: develop
78-
token: ${{ secrets.PERSONAL_TOKEN }}
78+
token: ${{ secrets.TDESIGN_BOT_TOKEN }}
7979
- name: tag and push if needed
8080
run: |
8181
data=$(cat package.json)

.github/workflows/issue-assignees.temp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
4242
- name: 通知贡献者
4343
if: steps.assignees.outputs.contributors != ''
44-
uses: actions-cool/maintain-one-comment@v2.0.0
44+
uses: TDesignOteam/workflows/actions/maintain-one-comment@main
4545
with:
4646
token: ${{ secrets.GITHUB_TOKEN }}
4747
body: |
4848
♥️ 有劳 ${{ steps.contributors.outputs.string }} 尽快确认问题。
4949
确认有效后将下一步计划和可能需要的时间回复给 @${{ github.event.issue.user.login }} 。
5050
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->
5151
number: ${{ github.event.issue.number }}
52-
body-include: "<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->"
52+
body-include: '<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->'

.github/workflows/tag-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: TDesignOteam/workflows/.github/workflows/reusable-publish-npm.yml@main
1212
secrets:
1313
TDESIGN_SURGE_TOKEN: ${{ secrets.TDESIGN_SURGE_TOKEN }}
14-
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
14+
TDESIGN_BOT_TOKEN: ${{ secrets.TDESIGN_BOT_TOKEN }}
1515
with:
1616
package-manager: pnpm
1717
node-version-file: .node-version

0 commit comments

Comments
 (0)