Skip to main content

List repository workflows

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.

GET/repos/{owner}/{repo}/actions/workflows
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
owner string
required
repo string
required
Query Parameters
per_page integer
optional

Results per page (max 100)

page integer
optional

Page number of the results to fetch.

Responses

application/json object

Response

Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"
total_count integer
required
workflows array[Workflow object]
required
items Workflow object

A GitHub Actions workflow

badge_url string
required

Example: https://github.com/actions/setup-ruby/workflows/CI/badge.svg

created_at string<date-time>
required

Example: 2019-12-06T14:20:20.000Z

deleted_at string<date-time>
optional

Example: 2019-12-06T14:20:20.000Z

html_url string
required

Example: https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml

id integer
required

Example: 5

name string
required

Example: CI

node_id string
required

Example: MDg6V29ya2Zsb3cxMg==

path string
required

Example: ruby.yaml

state string
required

Example: active

updated_at string<date-time>
required

Example: 2019-12-06T14:20:20.000Z

url string
required

Example: https://api.github.com/repos/actions/setup-ruby/workflows/5