Skip to main content

Overview

OpenSRE’s GitHub Actions tools help you trace incidents back to the workflow run that caused them. They are designed for situations where a failed deploy, a flaky test, or a broken secret rotation explains a production problem. This is not a separate integration id — it uses the same GitHub MCP credentials as GitHub. For mutating CI fixes, see Fix GitHub CI.

Prerequisites

  • GitHub connected via GitHub integration
  • MCP toolsets that include actions (default: repos,issues,pull_requests,actions)
  • Token access to the repositories whose workflows you want to inspect

Setup

Ensure the GitHub MCP toolsets include actions. *Unless you authorized in the browser during opensre integrations setup github. If no token is configured, GitHub Actions tools report that the GitHub integration is unavailable.

Credentials

Use the same token and scopes as GitHub. For private repos, the token needs access to that repository. Confirm verify output mentions Actions tools.

Investigation tools

Examples

Investigation workflow

  1. Find the workflow run that happened right before the incident.
  2. Open the job list and identify the failed job or step.
  3. Pull the failed step log and look for the exact deployment/test error.
  4. Use the run metadata to correlate the failure with commits, pull requests, or a secret/config change.

Example RCA usage

A failed deployment workflow often shows up as:
  • a run with conclusion: failure
  • a job named deploy, release, or rollout
  • a step such as Deploy, Apply manifests, or Run migrations
That context is usually enough to connect the incident to a recent workflow change.

Verify

Confirm the verify output mentions Actions tools. Then test from the REPL:

Troubleshooting

Security

  • Prefer a least-privilege token scoped to the repositories you investigate.
  • These tools are read-only; mutating CI fixes go through GitHub CI fix with explicit confirmation.
  • Store tokens in .env, not in source code.