forked from newrelic/opensource-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request newrelic#1064 from newrelic/tabatha/update-token
Replace token name used in action workflows
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ jobs: | |
id: disable-branch-protection | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
previews: luke-cage-preview | ||
script: | | ||
const result = await github.rest.repos.updateBranchProtection({ | ||
|
@@ -96,15 +96,15 @@ jobs: | |
if: steps.generate-notices.outputs.commit == 'true' | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
github_token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
branch: develop | ||
|
||
- name: Re-enable branch protection | ||
id: enable-branch-protection | ||
if: always() | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
previews: luke-cage-preview | ||
script: | | ||
const result = await github.rest.repos.updateBranchProtection({ | ||
|
@@ -147,7 +147,7 @@ jobs: | |
id: disable-branch-protection | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
previews: luke-cage-preview | ||
script: | | ||
const result = await github.rest.repos.updateBranchProtection({ | ||
|
@@ -169,15 +169,15 @@ jobs: | |
GIT_AUTHOR_EMAIL: '[email protected]' | ||
GIT_COMMITTER_NAME: 'nr-opensource-bot' | ||
GIT_COMMITTER_EMAIL: '[email protected]' | ||
GITHUB_TOKEN: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
run: npx semantic-release@^18.0.0 | ||
|
||
- name: Re-enable branch protection | ||
id: enable-branch-protection | ||
if: always() | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} | ||
github-token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} | ||
previews: luke-cage-preview | ||
script: | | ||
const result = await github.rest.repos.updateBranchProtection({ | ||
|