Skip to content

Commit

Permalink
Merge pull request #125 from Expensify/andrew-number
Browse files Browse the repository at this point in the history
Use fromJSON to get a number
  • Loading branch information
AndrewGable authored Oct 10, 2024
2 parents 7c506ed + eccf673 commit fdab23a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit fdab23a

Please sign in to comment.