Review GitHub Actions Workflow
review_github_actions_workflowEvaluate GitHub Actions workflow security and deployment readiness from YAML or structured facts, checking triggers, action pinning, token permissions, caching, environment protection, concurrency.
Instructions
Evaluate GitHub Actions workflow security and deployment readiness from structured facts or raw workflow YAML, including triggers, action pinning, token permissions, caching, environment protection and concurrency. Use review_cicd_pipeline for generic non-GitHub delivery-process review. It examines supplied evidence only and does not call GitHub or dispatch workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| triggers | No | Workflow trigger events when raw YAML is not supplied, such as push, pull_request or workflow_dispatch. | |
| workflowName | Yes | Human-readable name of the GitHub Actions workflow being reviewed. | |
| workflowYaml | No | Raw GitHub Actions workflow YAML. The server derives triggers, action pinning, token permissions, caching and concurrency. | |
| hasSecretScanning | No | Whether the workflow or surrounding delivery process performs automated secret scanning. | |
| usesPinnedActions | No | Whether third-party actions are pinned to immutable commit SHAs. | |
| deploysToProduction | No | Whether the workflow can deploy directly or indirectly to production. | |
| hasDependencyCaching | No | Whether dependency caching is configured for repeatable and efficient builds. | |
| hasConcurrencyControl | No | Whether concurrency settings prevent overlapping or conflicting workflow runs. | |
| hasEnvironmentProtection | No | Whether protected GitHub environments or equivalent approval controls guard production deployments. | |
| hasLeastPrivilegePermissions | No | Whether GITHUB_TOKEN permissions are explicitly restricted to least privilege. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | Yes | ||
| findings | Yes | ||
| triggers | Yes | ||
| strengths | Yes | ||
| workflowName | Yes | ||
| uncertainties | Yes | ||
| workflowScore | Yes | ||
| readinessLevel | Yes | ||
| recommendedControls | Yes | ||
| assessmentConfidence | Yes |