Skip to content

Commit

Permalink
Merge pull request #126 from Expensify/andrew-github-app
Browse files Browse the repository at this point in the history
Use secret inherit and a GitHub app to sign commits
  • Loading branch information
AndrewGable authored Oct 10, 2024
2 parents fdab23a + 28dbf8f commit 61ae1d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ jobs:
publish:
needs: get_pull_request
uses: Expensify/GitHub-Actions/.github/workflows/npmPublish.yml@main
secrets: inherit
with:
repository: ${{ github.action_repository }}
# 'outputs' provides a string and we need a number, so we use fromJSON to convert it
# '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 61ae1d8

Please sign in to comment.