-
Notifications
You must be signed in to change notification settings - Fork 3
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
Migrate to changesets #565
Conversation
.github/workflows/release.yml
Outdated
NPM_TOKEN: ${{ secrets.SEEK_OSS_CI_NPM_TOKEN }} | ||
|
||
- name: Publish Storybook | ||
run: yarn storybook:build && yarn storybook:deploy -- --ci --host-token-env-variable=GITHUB_TOKEN | ||
env: | ||
GITHUB_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ github.actor }}:${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing we may need to remove/change github.actor
if we want to make this change, as the org token belongs to https://github.com/orgs/seek-oss/teams/ci.
That said, can we check if we can stick to the repo-scoped GITHUB_TOKEN for the Storybook step? (I can't quite remember at this time why it's insufficient for Changesets though!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose if it already works with GITHUB_TOKEN it should be fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇
Reasonably blindly copied seek-oss/logger#89. Will need the token added (at a minimum)