peter-murray/workflow-application-token-action
Obtain a temporary access token for a GitHub Application when running in a GitHub Actions Workflow.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| application_private_key | GitHub Application Private Key value. | yes | — |
| application_id | GitHub Application ID value. | yes | — |
| permissions | The permissions to request e.g. issues:read,secrets:write,packages:read. Defaults to all available permissions | no | — |
| organization | The GitHub Organization to get the application installation for, if not specified will use the current repository instead | no | — |
| github_api_base_url | The GitHub API base URL to use, no needed it working within the same GitHub instance as the workflow as it will get picked up from the environment | no | — |
| https_proxy | Option proxy server for making the requests | no | — |
| ignore_environment_proxy | Optional flag to forcibly ignore the proxy server setting in the environment | no | false |
| revoke_token | Flag to revoke the token after the job is complete, defaults to 'false', set to 'true' to revoke in the post job processing. | no | false |
Outputs
| name | description |
|---|---|
| token | A valid token representing the Application that can be used to access what the Application has been scoped to access. |