78
78
id : disable-branch-protection
79
79
uses : actions/github-script@v6
80
80
with :
81
- github-token : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
81
+ github-token : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
82
82
previews : luke-cage-preview
83
83
script : |
84
84
const result = await github.rest.repos.updateBranchProtection({
@@ -96,15 +96,15 @@ jobs:
96
96
if : steps.generate-notices.outputs.commit == 'true'
97
97
98
98
with :
99
- github_token : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
99
+ github_token : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
100
100
branch : develop
101
101
102
102
- name : Re-enable branch protection
103
103
id : enable-branch-protection
104
104
if : always()
105
105
uses : actions/github-script@v6
106
106
with :
107
- github-token : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
107
+ github-token : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
108
108
previews : luke-cage-preview
109
109
script : |
110
110
const result = await github.rest.repos.updateBranchProtection({
@@ -147,7 +147,7 @@ jobs:
147
147
id : disable-branch-protection
148
148
uses : actions/github-script@v6
149
149
with :
150
- github-token : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
150
+ github-token : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
151
151
previews : luke-cage-preview
152
152
script : |
153
153
const result = await github.rest.repos.updateBranchProtection({
@@ -169,15 +169,15 @@ jobs:
169
169
GIT_AUTHOR_EMAIL :
' [email protected] '
170
170
GIT_COMMITTER_NAME : ' nr-opensource-bot'
171
171
GIT_COMMITTER_EMAIL :
' [email protected] '
172
- GITHUB_TOKEN : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
172
+ GITHUB_TOKEN : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
173
173
run : npx semantic-release@^18.0.0
174
174
175
175
- name : Re-enable branch protection
176
176
id : enable-branch-protection
177
177
if : always()
178
178
uses : actions/github-script@v6
179
179
with :
180
- github-token : ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
180
+ github-token : ${{ secrets.DOCS_ENG_BOT_TOKEN }}
181
181
previews : luke-cage-preview
182
182
script : |
183
183
const result = await github.rest.repos.updateBranchProtection({
0 commit comments