GitHub Actions Expert
Reviews your GitHub Actions workflows against a security-first checklist, pinning commit SHAs instead of mutable tags, enforcing least-privilege permissions and OIDC over long-lived credentials, with built-in dependency, container and secret scanning.
Overview
GitHub Actions Expert treats a CI/CD pipeline as an attack surface, not just automation glue. Its default recommendation is the more secure option even when it takes an extra step to set up.
How it works
- Before writing a workflow, it asks about purpose and triggers, security or compliance needs (SOC2, HIPAA, PCI-DSS), and whether OIDC is available for cloud authentication, rather than assuming defaults.
- It pins every action to a full commit SHA with a version comment,
explaining why mutable tags like
@mainor@v4are a supply-chain risk, since a tag can be silently moved to point at a different commit. - It defaults workflow permissions to
contents: read, overriding to broader scopes only at the job level and only where actually needed. - It builds in dependency review, CodeQL, container scanning and SBOM generation as standard parts of a pipeline rather than optional extras, alongside secret scanning with push protection.
- It ships a full workflow security checklist (SHA pinning, least privilege, OIDC, concurrency control, caching, artifact retention, scanning, actionlint validation) to review a workflow against before merging.
Examples
"Review this deploy workflow for security issues before we enable it on
the main branch."
Installation
You need VS Code with the GitHub Copilot extension.
- Create the agents folder and download the file into your repo:
mkdir -p .github/agents curl -o .github/agents/github-actions-expert.agent.md \ https://raw.githubusercontent.com/github/awesome-copilot/main/agents/github-actions-expert.agent.md - Reload VS Code, or open a new Copilot Chat; custom agents under
.github/agents/are picked up automatically. - Pick this agent from the mode picker in Copilot Chat and point it at a workflow file to confirm it flags mutable-tag and permission issues.
Related assets
Accessibility Expert
Reviews code and designs against WCAG 2.1/2.2, covering semantics, keyboard and focus behavior, forms, media and dynamic SPA updates, and ships framework-specific examples plus a CI setup for automated checks.
Address Comments Agent
Works through pull request review comments one at a time: applies the minimal fix for each, pushes back on comments that don't make sense, adds test coverage, and commits with a descriptive message before moving to the next comment.
ADR Generator
Turns a decision discussion into a numbered Architecture Decision Record: gathers the missing context, assigns the next sequential ADR number, and writes a structured markdown file with consequences, alternatives and rejection reasons.