Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 6afa298

Browse files
committed
fix: replace token name used in action workflows
1 parent 8b7fc26 commit 6afa298

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/project-stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
ref: main
2222
fetch-depth: 0
23-
token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
23+
token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
2424

2525
- name: Install dependencies
2626
run: cd .github/actions/sync-data && npm install

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
id: disable-branch-protection
7979
uses: actions/github-script@v6
8080
with:
81-
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
81+
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
8282
previews: luke-cage-preview
8383
script: |
8484
const result = await github.rest.repos.updateBranchProtection({
@@ -96,15 +96,15 @@ jobs:
9696
if: steps.generate-notices.outputs.commit == 'true'
9797
uses: ad-m/[email protected]
9898
with:
99-
github_token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
99+
github_token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
100100
branch: develop
101101

102102
- name: Re-enable branch protection
103103
id: enable-branch-protection
104104
if: always()
105105
uses: actions/github-script@v6
106106
with:
107-
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
107+
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
108108
previews: luke-cage-preview
109109
script: |
110110
const result = await github.rest.repos.updateBranchProtection({
@@ -147,7 +147,7 @@ jobs:
147147
id: disable-branch-protection
148148
uses: actions/github-script@v6
149149
with:
150-
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
150+
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
151151
previews: luke-cage-preview
152152
script: |
153153
const result = await github.rest.repos.updateBranchProtection({
@@ -169,15 +169,15 @@ jobs:
169169
GIT_AUTHOR_EMAIL: '[email protected]'
170170
GIT_COMMITTER_NAME: 'nr-opensource-bot'
171171
GIT_COMMITTER_EMAIL: '[email protected]'
172-
GITHUB_TOKEN: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
172+
GITHUB_TOKEN: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
173173
run: npx semantic-release@^18.0.0
174174

175175
- name: Re-enable branch protection
176176
id: enable-branch-protection
177177
if: always()
178178
uses: actions/github-script@v6
179179
with:
180-
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
180+
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }}
181181
previews: luke-cage-preview
182182
script: |
183183
const result = await github.rest.repos.updateBranchProtection({

0 commit comments

Comments
 (0)