Skip to content

Commit 12dc442

Browse files
refactor(ci): rename secret name of bot token with repo permissions
1 parent 3b8d2d3 commit 12dc442

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pull-request-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
label-test-robot-done: test-robot-done
2222
label-test-robot-needed: test-robot-needed
2323
secrets:
24-
token: ${{ secrets.BOT_PR_TOKEN }}
24+
token: ${{ secrets.BOT_REPO_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
label-test-robot-done: test-robot-done
2323
label-test-robot-needed: test-robot-needed
2424
secrets:
25-
token: ${{ secrets.BOT_PR_TOKEN }}
25+
token: ${{ secrets.BOT_REPO_TOKEN }}
2626

2727
build:
2828
needs: test-robot-unlabel

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: getdevopspro/github-actions/.github/workflows/promote.yml@v6.1.1
2828
secrets:
2929
# To bypass ruleset enforcing checks
30-
checkout-token: ${{ secrets.BOT_RELEASE_CHECKOUT_TOKEN }}
30+
checkout-token: ${{ secrets.BOT_REPO_TOKEN }}
3131
with:
3232
version-package: package.json
3333
git-add-files: package.json

0 commit comments

Comments
 (0)