Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Lists the workflows in a repository. 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.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
A GitHub Actions workflow
Gets a specific workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. 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.
One OfThe ID of the workflow. You can also pass the workflow file name as a string.
Response
A GitHub Actions workflow
Example:5
Example:MDg6V29ya2Zsb3cxMg==
Example:CI
Example:ruby.yaml
Allowed values:activedeleteddisabled_forkdisabled_inactivitydisabled_manually
Example:active
Example:2019-12-06T14:20:20.000Z
Example:2019-12-06T14:20:20.000Z
Example:https://api.github.com/repos/actions/setup-ruby/workflows/5
Example:https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml
Example:https://github.com/actions/setup-ruby/workflows/CI/badge.svg
Example:2019-12-06T14:20:20.000Z
Disables a workflow and sets the state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.
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.
One OfThe ID of the workflow. You can also pass the workflow file name as a string.
Response
You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.
You must configure your GitHub Actions workflow to run when the workflow_dispatch webhook event occurs. The inputs are configured in the workflow file. For more information about how to configure the workflow_dispatch event in the workflow file, see “Events that trigger workflows.”
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. For more information, see “Creating a personal access token for the command line.”
One OfThe ID of the workflow. You can also pass the workflow file name as a string.
The git reference for the workflow. The reference can be a branch or tag name.
Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when inputs are omitted.
Response
Enables a workflow and sets the state of the workflow to active. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.
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.
One OfThe ID of the workflow. You can also pass the workflow file name as a string.
Response