The id of the workflow run.
Download workflow run logs
Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for
Location: in the response header to find the URL for the download. Anyone with read access to the repository can use
this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have
the actions:read permission to use this endpoint.
Path Parameters
Response
302
Response
Response
Delete workflow run logs
Deletes all logs for a workflow run. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the actions:write permission to use this endpoint.
Path Parameters
The id of the workflow run.
Response
Response
Response
List repository secrets
Lists all secrets available in a repository without revealing their encrypted values. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the secrets repository permission to use this endpoint.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Set secrets for GitHub Actions.
Show Child Parameters
Get a repository public key
Gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have the secrets repository permission to use this endpoint.
Path Parameters
Response
200 application/json
Response
Response
ActionsPublicKey
The public key used for setting Actions Secrets.
The identifier for the key.
Example:1234567
The Base64 encoded public key.
Example:hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=
Example:2
Example:https://api.github.com/user/keys/2
Example:ssh-rsa AAAAB3NzaC1yc2EAAA
Example:2011-01-26T19:01:12Z
Get a repository secret
Gets a single repository secret without revealing its encrypted value. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the secrets repository permission to use this endpoint.
Path Parameters
secret_name parameter
Response
200 application/json
Response
Response
Actions Secret
Set secrets for GitHub Actions.
The name of the secret.
Example:SECRET_TOKEN