From 869e759aa9955218833f86c72f8bb78ae22c2904 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Fri, 13 Nov 2026 17:42:57 +0100 Subject: [PATCH] Pass typed inputs to the reusable preview workflow `github.event.inputs` always yields strings, so the reusable workflow rejected the empty `pull-request` value (a `number`) and the `dry-run` value (a `boolean`). Use the typed `inputs` context instead. --- .github/workflows/publish-preview.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-preview.yml b/.github/workflows/publish-preview.yml index 9dc6699..a2c67ef 100644 --- a/.github/workflows/publish-preview.yml +++ b/.github/workflows/publish-preview.yml @@ -29,8 +29,8 @@ jobs: pull-requests: write uses: MetaMask/github-tools/.github/workflows/publish-preview-oidc.yml@v1 with: - pull-request: ${{ github.event.inputs.pull-request }} - branch: ${{ github.event.inputs.branch }} - dry-run: ${{ github.event.inputs.dry-run }} + pull-request: ${{ inputs.pull-request }} + branch: ${{ inputs.branch }} + dry-run: ${{ inputs.dry-run }} environment: default-branch docs-url: 'https://github.com/MetaMask/release-tools/blob/main/docs/processes/preview-builds.md'