Skip to content

Commit

Permalink
Merge branch 'main' into jc/request-permissions-unavailable-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
ffmcgee725 committed Jan 30, 2025
2 parents d2db02b + 6ca9116 commit 57d2779
Show file tree
Hide file tree
Showing 279 changed files with 1,117 additions and 19,929 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build storybook

on:
workflow_call:
secrets:
STORYBOOK_TOKEN:
required: true

jobs:
build-storybook:
Expand Down Expand Up @@ -30,5 +33,5 @@ jobs:
# For a `push` event, the branch is `github.ref_name`.
if: ${{ (github.head_ref || github.ref_name) == 'main' }}
run: |
git remote add storybook git@github.com:MetaMask/metamask-storybook.git
git remote add storybook https://${{ secrets.STORYBOOK_TOKEN }}@github.com/MetaMask/metamask-storybook.git
yarn storybook:deploy
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
build-storybook:
name: Build storybook
uses: ./.github/workflows/build-storybook.yml
secrets:
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
permissions:
contents: read
# id-token permission is required for uploading to s3
Expand Down
Loading

0 comments on commit 57d2779

Please sign in to comment.