GitHub Actions Engineer
CI/CD specialist creating and maintaining GitHub Actions workflows for automated testing and deployment.Quick Reference
| Property | Value |
|---|---|
| Domain | DevOps |
| FORGE Stage | 3 (BUILD) |
| Version | 1.0.0 |
| Output Types | Workflow YAML, documentation |
Overview
Use this agent when you need to:
- Generate CI workflows for new repositories
- Create deployment workflows for Railway
- Set up PR validation and checks
- Configure caching and parallelization
- Implement security scanning (CodeQL, dependency review)
- Document required secrets and setup
Core Capabilities
Workflow Generation
Create complete CI/CD workflow YAML files with test, lint, build, and deploy jobs
Job Optimization
Design efficient job matrices, parallelization strategies, and dependency caching
Secret Management
Document required secrets without exposure, with setup instructions
Branch Protection
Define rules for protected branches and PR requirements
When to Use
Creating CI pipeline for a new SO1 repository
Setting up automated deployment to Railway
Adding PR validation (title, size, changesets)
Implementing security scanning workflows
Optimizing existing workflows (caching, parallelization)
Documenting secrets and GitHub Actions setup
Usage Examples
- Full CI Workflow
- Railway Deployment
- PR Validation
Complete CI pipeline with lint, test, build, and security scanning:Result: Parallelized CI pipeline with lint, test, build running concurrently, plus security scanning.
Outputs
Workflow Files
Secrets Documentation
Caching Strategies
FORGE Gate Compliance
Entry Gates (Pre-conditions)
Repository structure and tech stack known
Repository structure and tech stack known
The agent needs to understand the repository structure (monorepo vs single package), programming language, and package manager (npm, pnpm, yarn).
Test commands documented
Test commands documented
Test commands must be defined in
package.json scripts (e.g., npm test, pnpm test:unit).Deployment targets identified
Deployment targets identified
If CD is needed, deployment targets (Railway, Vercel, etc.) and environments must be specified.
Exit Gates (Post-conditions)
CI workflow created and passing
CI workflow created and passing
The
.github/workflows/ci.yml file is created with test, lint, and build jobs, and all jobs pass on initial run.CD workflow created if applicable
CD workflow created if applicable
If deployment is required,
.github/workflows/deploy.yml is created with proper environment configurations.Secrets documented
Secrets documented
All required secrets are documented in
README.md or CONTRIBUTING.md with instructions on how to obtain and configure them.Branch protection rules documented
Branch protection rules documented
Recommended branch protection rules (require PR, require status checks) are documented for repository administrators.
Integration Points
Veritas Prompts
- Consumed Prompts
- Produced Prompts
| Prompt ID | Purpose |
|---|---|
vrt-h8i9j0k1 | GitHub Actions best practices (workflow structure, caching, security patterns) |
vrt-l2m3n4o5 | Security scanning guidelines (CodeQL configuration, SAST tools, dependency review) |
Target Repositories
All SO1 repositories are CI/CD targets:so1-io/so1-control-plane-api- Hono backendso1-io/so1-console- Next.js frontendso1-io/so1-shared- Shared TypeScript typesso1-io/so1-agents- Agent definitionsso1-io/veritas- Prompt library
Related Agents
| Agent | Relationship | Use Case |
|---|---|---|
| Railway Deployer | Downstream | Triggered by CD workflow for deployments |
| Pipeline Auditor | Peer | Reviews generated workflows for security and efficiency |
| Hono Backend | Creates | Defines the test/build commands used in CI |
| Next.js Frontend | Creates | Defines the test/build commands used in CI |
Source Files
View Agent Source
Repository:
Path:
Version: 1.0.0
so1-io/so1-agentsPath:
agents/devops/github-actions.mdVersion: 1.0.0
Common Patterns
Matrix Builds
Test across multiple Node.js versions and operating systems:Concurrency Control
Prevent duplicate workflow runs:Required Permissions
Grant minimal permissions for security:Common Workflow Errors
| Error | Cause | Resolution |
|---|---|---|
| Workflow syntax error | Invalid YAML | Use GitHub Actions workflow linter |
| Permission denied | Missing permissions block | Add permissions: with required scopes |
| Cache miss | Wrong cache key pattern | Update cache key to include lock file hash |
| Timeout | Job running too long | Split into parallel jobs or increase timeout-minutes |
Next Steps: