Skip to content

Commit

Permalink
feat: US158339 - Use new release token (#85)
Browse files Browse the repository at this point in the history
* US158339 - Use new release token
* Update the generated content
* Update the README
  • Loading branch information
svanherk authored Nov 22, 2023
1 parent a1f5b5f commit 19bd4d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 19bd4d8

Please sign in to comment.