Skip to content

Commit

Permalink
fix(get-github-token): add missing github credentials inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 4, 2024
1 parent 90390c1 commit ac96ed0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions get-github-token/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ inputs:
private-key:
description: 'The private key of the app.'

owner:
description: 'The owner of the GitHub App installation (defaults to current repository owner)'
required: false

repositories:
description: 'Repositories to install the GitHub App on (defaults to current repository if owner is unset)'
required: false

skip-token-revoke:
description: 'If truthy, the token will not be revoked when the current job is complete'
required: false

github-api-url:
description: 'The URL of the GitHub REST API.'
default: ${{ github.api_url }}

outputs:
token:
description: 'The GitHub token.'
Expand All @@ -36,6 +52,10 @@ runs:
with:
app-id: ${{ inputs.app-id }}
private-key: ${{ inputs.private-key }}
owner: ${{ inputs.owner }}
repositories: ${{ inputs.repositories }}
skip-token-revoke: ${{ inputs.skip-token-revoke }}
github-api-url: ${{ inputs.github-api-url }}

- id: token
if: inputs.token != ''
Expand Down

0 comments on commit ac96ed0

Please sign in to comment.