Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release #1066

Merged
merged 5 commits into from
Feb 29, 2024
Merged

release #1066

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/project-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
types: [sync-project-data]

env:
THIRD_PARTY_GIT_AUTHOR_EMAIL: opensource+[email protected]
THIRD_PARTY_GIT_AUTHOR_NAME: nr-opensource-bot
THIRD_PARTY_GIT_AUTHOR_EMAIL: svc-docs-eng-opensource-[email protected]
THIRD_PARTY_GIT_AUTHOR_NAME: svc-docs-eng-opensource-bot

jobs:
job-sync-project-data:
Expand All @@ -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
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
types: [semantic-release]

env:
THIRD_PARTY_GIT_AUTHOR_EMAIL: opensource+[email protected]
THIRD_PARTY_GIT_AUTHOR_NAME: nr-opensource-bot
THIRD_PARTY_GIT_AUTHOR_EMAIL: svc-docs-eng-opensource-[email protected]
THIRD_PARTY_GIT_AUTHOR_NAME: svc-docs-eng-opensource-bot

jobs:
job-generate-third-party-notices:
Expand Down Expand Up @@ -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({
Expand All @@ -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({
Expand Down Expand Up @@ -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({
Expand All @@ -163,21 +163,21 @@ 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+[email protected]'
GIT_COMMITTER_NAME: 'nr-opensource-bot'
GIT_COMMITTER_EMAIL: 'opensource+[email protected]'
GITHUB_TOKEN: ${{ secrets.DEVEX_OPENSOURCE_BOT_TOKEN }}
GIT_AUTHOR_NAME: 'svc-docs-eng-opensource-bot'
GIT_AUTHOR_EMAIL: 'svc-docs-eng-opensource-[email protected]'
GIT_COMMITTER_NAME: 'svc-docs-eng-opensource-bot'
GIT_COMMITTER_EMAIL: 'svc-docs-eng-opensource-[email protected]'
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({
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
"dependencies": {
"@emotion/react": "^11.1.5",
Expand Down
Loading