From eccf673d0f48674962c5810c35b269b03a017feb Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Thu, 10 Oct 2024 12:16:20 -0600 Subject: [PATCH] Use fromJSON to get a number --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c428fd8..38c9db9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,8 @@ jobs: uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main with: repository: ${{ github.action_repository }} - pull_request_number: ${{ needs.get_pull_request.outputs.pull_request_number }} + # 'outputs' provides a string and we need a number, so we use fromJSON to convert it + pull_request_number: ${{ fromJSON(needs.get_pull_request.outputs.pull_request_number) }} secrets: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} OS_BOTIFY_COMMIT_TOKEN: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}