Tasks
Virtual Worker Generate GitHub App Access Token
Generates a GitHub App installation access token using a stored private key.
This task runs in the hub without starting or contacting a worker; no runtime settings are needed.
Basic usage
Parameters
app_id number | string required
The GitHub App ID, as a positive integer or numeric string.
installation_id number | string required
The GitHub App installation ID, as a positive integer or numeric string.
app_private_key_credentialuuid string required
The UUID of a credential whose generic_value contains the GitHub App's RSA private key in PEM format, including its complete BEGIN/END markers.
Returns
Returns payload.token and payload.expires_at. The token expires after one hour and uses the installation's granted repository access and permissions. Treat it as a secret.