Skip to content

Actions & Deployments

Actions & Deployments reads what GitHub has built and deployed: GitHub Actions runs (builds, tests, deploys) with their result, and deployments by environment. It works with several repositories at once. It only reads: it never starts or cancels anything.

When to use it

  • Knowing which version went to production and when.
  • Alerting when a deploy or a build fails.
  • An agent that answers “is continuous integration green?” or “what was deployed yesterday?”.
  • Seeing which step of a run failed.

Configuration

You need a GitHub API credential with read access to Actions and Deployments on the repositories. See Credentials.

FieldWhat it does
Credential (required)The GitHub API credential.
Operation (required)List Workflow Runs, Get Workflow Run, List Deployments or List Workflows.
Repositories (required)owner/repo, several separated by commas, or a pattern with * such as my-org/web-*. Get Workflow Run reads one.
WorkflowList Workflow Runs: only runs of this workflow, by its file (deploy.yml) or its name.
BranchOnly runs of this branch or tag.
StatusOnly runs that ended or are in this state: success, failure, cancelled, in_progress…
EnvironmentList Deployments: only deployments to this environment (e.g. production).
Since / UntilFrom and to when: a date, today, yesterday or a span such as 7d. Defaults to the last 7 days.
Run IDGet Workflow Run: the number in the run’s link (…/actions/runs/123456).
LimitMost items read per repository (50 by default).

Output

  • List Workflow Runs: per run, the repository, workflow, title, triggering event, branch, SHA, status and result, who launched it, when it started, how long it took and the link.
  • Get Workflow Run: the above plus each job’s result and the steps that failed.
  • List Deployments: the environment, version (ref), SHA, who and when, and the final state.
  • List Workflows: the workflows of each repository with their file and state.

If a project deploys by pushing tags and has GitHub Actions disabled, there will be no runs or deployments: its versions are in Repository with List Tags.

As an agent’s tool

Connect it to the tools port of an Agent or a Voice Agent with Repositories fixed. The AI fills the workflow, branch, status and dates. See Tool Mode.

Example

An alert when a deploy fails:

  1. Add Actions & Deployments with List Workflow Runs, Repositories my-org/web-*, Status failure and Since 1h.
  2. If it returns any run, send a Slack message with the link.
  3. Schedule the flow every hour.