From 0adafd095972bb1a59d511b593043a9ea48b3345 Mon Sep 17 00:00:00 2001 From: Stacey Van Herk <13419300+svanherk@users.noreply.github.com> Date: Tue, 21 Nov 2023 17:00:02 -0500 Subject: [PATCH 1/3] US158339 - Use new release token --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f605b5..3b9f155 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,6 @@ jobs: - name: Semantic Release uses: BrightspaceUI/actions/semantic-release@main with: - GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.D2L_RELEASE_TOKEN }} NPM: true NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From 87cb0e98117fd177c2e28bd6e95a28a5a30fbae6 Mon Sep 17 00:00:00 2001 From: Stacey Van Herk <13419300+svanherk@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:11:11 -0500 Subject: [PATCH 2/3] Update the generated content --- .../release/templates/static/.github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/release/templates/static/.github/workflows/release.yml b/src/generators/release/templates/static/.github/workflows/release.yml index 38eba58..1136ba0 100644 --- a/src/generators/release/templates/static/.github/workflows/release.yml +++ b/src/generators/release/templates/static/.github/workflows/release.yml @@ -21,6 +21,6 @@ jobs: - name: Semantic Release uses: BrightspaceUI/actions/semantic-release@main with: - GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.D2L_RELEASE_TOKEN }} NPM: true NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From 90a67154bb40a0d7a48667ebee8fb8f376473baa Mon Sep 17 00:00:00 2001 From: Stacey Van Herk <13419300+svanherk@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:11:27 -0500 Subject: [PATCH 3/3] Updaet the README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 51a83d0..3645ad3 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,13 @@ npm init @brightspace-ui ### Visual Diff Testing -Visual diff results are published to a bucket in S3 and need special tokens to do so. To set these up, follow the instructions in the [visual-diff GitHub Action](https://github.com/BrightspaceUI/actions/tree/main/visual-diff). +Visual diff results are published to a bucket in S3 and need special tokens to do so. To set these up, follow the instructions in the [vdiff GitHub Action](https://github.com/BrightspaceUI/actions/tree/main/vdiff). ### Semantic Release -In order for the release workflow to automatically update the version, you need to add `brightspace-bot` as an admin using the following steps: -Settings -> Manage access -> Invite teams or people -> Add brightspace-bot +In order for the release workflow to automatically update the version, the repo needs to be configured with a `D2L_RELEASE_TOKEN`. -Learn more in the [action docs](https://github.com/BrightspaceUI/actions/blob/main/docs/branch-protection.md). +Learn more in the [action docs](https://github.com/BrightspaceUI/actions/blob/main/docs/release-token.md). ## Developing and Contributing