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 }}