Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
default: 'MetaMask bot'
secrets:
NPM_TOKEN:
required: true
required: false
PUBLISH_PAGES_TOKEN:
required: true
SLACK_WEBHOOK_URL:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
with:
name: publish-release-artifacts-${{ github.sha }}
- name: Dry run publish to NPM
uses: MetaMask/action-npm-publish@v5
uses: MetaMask/action-npm-publish@v6
with:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
subteam: ${{ inputs.slack-subteam }}
Expand All @@ -107,6 +107,9 @@ jobs:
needs:
- npm-publish-dry-run
- get-release-tag
permissions:
contents: read
id-token: write
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already granted in main.yml so no need for any changes there.

steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v3
Expand All @@ -118,7 +121,7 @@ jobs:
with:
name: publish-release-artifacts-${{ github.sha }}
- name: Publish ${{ needs.get-release-tag.outputs.tag }} to NPM
uses: MetaMask/action-npm-publish@v5
uses: MetaMask/action-npm-publish@v6
with:
npm-token: ${{ secrets.NPM_TOKEN }}
npm-tag: ${{ needs.get-release-tag.outputs.tag }}
Expand Down
Loading