Starting runs
A run is one workflow, run once, on one environment. Members and Admins can start runs.
Start a run
Section titled “Start a run”There are two places to start one.
In the editor, choose Run on followed by the environment’s name. When the sidebar’s environment picker is on All environments, the arrow beside it chooses the environment. The run uses the steps as they are in the editor, saved or not, and shows in the editor as it goes. See The editor.
From a list, choose the play button on a workflow’s row in Workflows, or Run a workflow on Runs. The dialog asks for:
- Selection: one workflow, or many as a batch.
- Workflow: already chosen when you came from one.
- Environment: where to run it. If the sidebar’s environment picker is on one environment, the run goes there and the dialog does not ask.
Choose Start the run. The run’s page opens and fills in as each step finishes. You can leave the page; the run continues without you. A run started this way uses the workflow as it was last saved.
A workflow with a step that needs a change can’t run. Its play button in the workflow list is off. A run of it started any other way ends at once without opening a browser, and its page says which step needs a change.
Waiting and running
Section titled “Waiting and running”A run starts as queued, becomes running when a browser is free for it, and ends finished with an outcome. Your plan sets how many of your organization’s runs can be running at once; more than that wait their turn.
A run can take up to 15 minutes. One that goes longer is stopped and ends as Error.
Cancel a run
Section titled “Cancel a run”Choose Cancel at the top of the run’s page while it is queued or running.
- A queued run ends Cancelled without starting.
- A running run finishes the step it is on. The rest of its steps are Not run.
Run it again
Section titled “Run it again”Run again on a finished run starts the workflow, as it is saved now, on the same environment. If the workflow has been saved since that run, the button says so. It is not offered while the sidebar’s environment picker is on a different environment from the run’s.
Before you rerun a run that did not pass, read why it did not. A second run costs time and counts against your plan, and it rarely says anything the first did not. When a step acts on the wrong element, or can’t tell which one you meant, change its words to name that element. Running it again is not the fix. The exception is an interrupted run, which has no result: run that again.
The list of runs
Section titled “The list of runs”Runs lists the project’s runs, newest first. Each day has a heading with how many runs it had and how many need a look. Each row shows the outcome, the workflow, where it stopped if it did not pass, when it started and who started it, and how long it took. On All environments it also shows the environment.
Search by workflow name, or filter by outcome, workflow, and batch.
Hover a workflow’s name for a preview of the run: its first and last page, and every step with its outcome.
When a limit is reached
Section titled “When a limit is reached”Your plan can limit how many runs your organization starts each month, and on some plans each hour. When a start would go over, it is refused and nothing is queued. The message says which limit, and when runs can start again.
Being at a limit never deletes anything or stops a run that is already going. See Plan and usage.
From a pipeline
Section titled “From a pipeline”A pipeline can start a run with an organization’s API key; Run from CI shows the command and the GitHub Action, and the API the request. The run list shows the key’s name, with “(API)”, as who started them.
A pipeline can also run your workflows’ files as a batch. A run of a file’s own steps, because the file differs from the saved workflow or has none, is marked “file” in the run list, and its page says File for its Version. A run of a workflow that is only in a file is marked “file, only in files so far”, and offers neither Edit workflow nor Run again.
With an agent
Section titled “With an agent”start_run takes the workflow and the environment and returns at once with the run’s id. get_run follows it. cancel_run cancels it. list_runs lists recent runs, or one workflow’s history.