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 }} 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 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 }}