One Of
The ID of the workflow. You can also pass the workflow file name as a string.
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 Of
The 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 Of
The ID of the workflow. You can also pass the workflow file name as a string.
Response
List all workflow runs for a workflow. You can replace workflow_id
with the workflow file name. For example, you could use main.yaml
. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.
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.
Returns someone’s workflow runs. Use the login for the user who created the push
associated with the check suite or workflow run.
Returns workflow runs associated with a branch. Use the name of the branch of the push
.
Returns workflow run triggered by the event you specify. For example, push
, pull_request
or issue
. For more information, see “Events that trigger workflows.”
Returns workflow runs with the check run status
or conclusion
that you specify. For example, a conclusion can be success
or a status can be in_progress
. Only GitHub can set a status of waiting
or requested
. For a list of the possible status
and conclusion
options, see “Create a check run.”
Allowed values:completedaction_requiredcancelledfailureneutralskippedstalesuccesstimed_outin_progressqueuedrequestedwaiting
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Returns workflow runs created within the given date-time range. For more information on the syntax, see “Understanding the search syntax.”
If true
pull requests are omitted from the response (empty array).
Default:false
One Of
The ID of the workflow. You can also pass the workflow file name as a string.
Response
An invocation of a workflow
We delay the public events feed by five minutes, which means the most recent event returned by the public events API actually occurred at least five minutes ago.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Response
Event
Actor
Actor
GitHub Enterprise Server provides several timeline resources in Atom format. The Feeds API lists all the feeds available to the authenticated user:
Note: Private feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.
Response
Feed
Example:https://github.com/timeline
Example:https://github.com/{user}
Example:https://github.com/octocat
Example:https://github.com/octocat.private?token=abc123
Example:https://github.com/octocat.private.actor?token=abc123
Example:https://github.com/octocat-org
Example:["https://github.com/organizations/github/octocat.private.atom?token=abc123"]