What problem does it solve? GitHub Actions workflows are executable infrastructure with access to your repository, secrets, and cloud accounts, yet they are often written as casual YAML config. This Skill helps you write and review workflows that follow security hardening guidance, avoiding common vulnerabilities like secret exfiltration via pull_request_target, mutable action tags, and over-privileged GITHUB_TOKEN scopes. ## Core Features & Use Cases - Workflow structure and triggers: Covers workflow/job/step structure, event triggers (pull_request, push, schedule, workflow_dispatch, workflow_call), contexts, concurrency controls, caching, and matrix builds. - Security hardening: Enforces least-privilege permissions, pinning third-party actions to full commit SHAs, OIDC federation to cloud providers instead of long-lived secrets, safe secret handling, and fork-PR safety rules. - Self-hosted runner guidance: Explains runner trust boundaries, ephemeral runners, in-cluster ARC patterns, and gating so untrusted fork PRs never execute on self-hosted infrastructure. - Use Case: When reviewing a pull request that adds a CI workflow, use this Skill to verify the workflow sets explicit permissions, pins every action to a SHA, avoids pull_request_target for running PR code, and routes deploy secrets through protected environments. ## Quick Start Ask the AI to review the workflow file at .github/workflows/ci.yml for security issues and missing hardening practices.