GitHub Action
App token
v1
Latest version
This action copies bubkoo/use-app-token but also works when running behind a proxy.
This action should be used when GITHUB_TOKEN
is too restrictive.
- name: Get token
id: get_token
uses: sjdaws/app-token@v1
with:
appId: ${{ secrets.APP_ID }}
privateKey: ${{ secrets.APP_PEM }}
- name: Use token
uses: ...
with:
token: ${{ steps.get_token.outputs.token }}