From 6afa29852e0fac6a84c71c545f876c73377ae733 Mon Sep 17 00:00:00 2001 From: Tabatha Zeitke Date: Wed, 28 Feb 2024 11:39:29 -0600 Subject: [PATCH 1/3] fix: replace token name used in action workflows --- .github/workflows/project-stats.yml | 2 +- .github/workflows/release.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/project-stats.yml b/.github/workflows/project-stats.yml index 5f2b1fc7ea..af73cebbe4 100644 --- a/.github/workflows/project-stats.yml +++ b/.github/workflows/project-stats.yml @@ -20,7 +20,7 @@ jobs: with: ref: main fetch-depth: 0 - token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} + token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} - name: Install dependencies run: cd .github/actions/sync-data && npm install diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2608de2ff..385f9061e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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,7 +96,7 @@ jobs: if: steps.generate-notices.outputs.commit == 'true' uses: ad-m/github-push-action@v0.6.0 with: - github_token: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }} + github_token: ${{ secrets.DOCS_ENG_BOT_TOKEN }} branch: develop - name: Re-enable branch protection @@ -104,7 +104,7 @@ jobs: 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,7 +169,7 @@ jobs: GIT_AUTHOR_EMAIL: 'opensource+bot@newrelic.com' GIT_COMMITTER_NAME: 'nr-opensource-bot' GIT_COMMITTER_EMAIL: 'opensource+bot@newrelic.com' - 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 @@ -177,7 +177,7 @@ jobs: 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({ From e6d3d11944c3dacc083193157eabb2f35c5112c8 Mon Sep 17 00:00:00 2001 From: Tabatha Zeitke Date: Thu, 29 Feb 2024 11:52:49 -0600 Subject: [PATCH 2/3] update bot creds --- .github/workflows/project-stats.yml | 4 ++-- .github/workflows/release.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/project-stats.yml b/.github/workflows/project-stats.yml index af73cebbe4..dc36db4a3b 100644 --- a/.github/workflows/project-stats.yml +++ b/.github/workflows/project-stats.yml @@ -8,8 +8,8 @@ on: types: [sync-project-data] env: - THIRD_PARTY_GIT_AUTHOR_EMAIL: opensource+bot@newrelic.com - THIRD_PARTY_GIT_AUTHOR_NAME: nr-opensource-bot + THIRD_PARTY_GIT_AUTHOR_EMAIL: svc-docs-eng-opensource-bot@newrelic.com + THIRD_PARTY_GIT_AUTHOR_NAME: svc-docs-eng-opensource-bot jobs: job-sync-project-data: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 385f9061e0..c598384b5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ on: types: [semantic-release] env: - THIRD_PARTY_GIT_AUTHOR_EMAIL: opensource+bot@newrelic.com - THIRD_PARTY_GIT_AUTHOR_NAME: nr-opensource-bot + THIRD_PARTY_GIT_AUTHOR_EMAIL: svc-docs-eng-opensource-bot@newrelic.com + THIRD_PARTY_GIT_AUTHOR_NAME: svc-docs-eng-opensource-bot jobs: job-generate-third-party-notices: @@ -163,12 +163,12 @@ jobs: - name: Release env: - # Use nr-opensource-bot for authoring commits done by + # Use svc-docs-eng-opensource-bot for authoring commits done by # semantic-release (rather than using @semantic-release-bot) - GIT_AUTHOR_NAME: 'nr-opensource-bot' - GIT_AUTHOR_EMAIL: 'opensource+bot@newrelic.com' - GIT_COMMITTER_NAME: 'nr-opensource-bot' - GIT_COMMITTER_EMAIL: 'opensource+bot@newrelic.com' + GIT_AUTHOR_NAME: 'svc-docs-eng-opensource-bot' + GIT_AUTHOR_EMAIL: 'svc-docs-eng-opensource-bot@newrelic.com' + GIT_COMMITTER_NAME: 'svc-docs-eng-opensource-bot' + GIT_COMMITTER_EMAIL: 'svc-docs-eng-opensource-bot@newrelic.com' GITHUB_TOKEN: ${{ secrets.DOCS_ENG_BOT_TOKEN }} run: npx semantic-release@^18.0.0 From 9ac1566b3a0f758e98b782cfe7a9b8d8018168c1 Mon Sep 17 00:00:00 2001 From: svc-docs-eng-opensource-bot Date: Thu, 29 Feb 2024 18:23:10 +0000 Subject: [PATCH 3/3] chore(release): 1.27.2 ## [1.27.2](https://github.com/newrelic/opensource-website/compare/v1.27.1...v1.27.2) (2024-02-29) ### Bug Fixes * replace token name used in action workflows ([6afa298](https://github.com/newrelic/opensource-website/commit/6afa29852e0fac6a84c71c545f876c73377ae733)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5211765880..ed4b752f4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.27.2](https://github.com/newrelic/opensource-website/compare/v1.27.1...v1.27.2) (2024-02-29) + + +### Bug Fixes + +* replace token name used in action workflows ([6afa298](https://github.com/newrelic/opensource-website/commit/6afa29852e0fac6a84c71c545f876c73377ae733)) + ## [1.27.1](https://github.com/newrelic/opensource-website/compare/v1.27.0...v1.27.1) (2024-02-12) diff --git a/package.json b/package.json index fa607590ef..9f642cc13f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "opensource-website", "private": true, "description": "Data, code, and automation for opensource.newrelic.com", - "version": "1.27.1", + "version": "1.27.2", "author": "Open Source Team at New Relic ", "dependencies": { "@emotion/react": "^11.1.5",