diff --git a/.github/workflows/publish-preview.yml b/.github/workflows/publish-preview.yml index e0e64666..d82103ac 100644 --- a/.github/workflows/publish-preview.yml +++ b/.github/workflows/publish-preview.yml @@ -12,10 +12,9 @@ jobs: if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '@metamaskbot publish-preview') }} permissions: contents: read + id-token: write pull-requests: write - uses: MetaMask/github-tools/.github/workflows/publish-preview.yml@v1 + uses: MetaMask/github-tools/.github/workflows/publish-preview-oidc.yml@v1 with: environment: default-branch docs-url: 'https://github.com/MetaMask/release-tools/blob/main/docs/processes/preview-builds.md' - secrets: - PUBLISH_PREVIEW_NPM_TOKEN: ${{ secrets.PUBLISH_PREVIEW_NPM_TOKEN }}