Check and configure GitHub Actions CI/CD workflows (container builds, tests, releases)
Validates GitHub Actions CI/CD workflows against FVH standards and fixes issues.
/plugin marketplace add laurigates/claude-plugins/plugin install configure-plugin@lgates-claude-plugins[--check-only] [--fix]configure/Check and configure GitHub Actions CI/CD workflows against FVH (Forum Virium Helsinki) standards.
This command validates .github/workflows/ configuration against FVH standards including:
Skills referenced: fvh-ci-workflows, github-actions-auth-security
CRITICAL: Before flagging outdated actions, verify latest versions:
Use WebSearch or WebFetch to verify current versions before reporting outdated actions.
.github/workflows/ directoryRequired workflows based on project type:
| Project Type | Required Workflows |
|---|---|
| Frontend | container-build, release-please |
| Python | container-build, release-please, test |
| Infrastructure | release-please (optional: docs) |
Container Build Workflow Checks:
| Check | Standard | Severity |
|---|---|---|
| checkout action | v4 | WARN if older |
| build-push action | v6 | WARN if older |
| Multi-platform | amd64 + arm64 | WARN if missing |
| Registry | GHCR (ghcr.io) | INFO |
| Caching | GHA cache enabled | WARN if missing |
| Permissions | Explicit | WARN if missing |
Release Please Workflow Checks:
| Check | Standard | Severity |
|---|---|---|
| Action version | v4 | WARN if older |
| Token | MY_RELEASE_PLEASE_TOKEN | WARN if GITHUB_TOKEN |
| Permissions | contents: write, pull-requests: write | FAIL if missing |
Test Workflow Checks:
| Check | Standard | Severity |
|---|---|---|
| Node version | 22 | WARN if older |
| Linting | npm run lint | WARN if missing |
| Type check | npm run typecheck | WARN if missing |
| Coverage | Coverage upload | INFO |
FVH GitHub Workflows Compliance Report
======================================
Project Type: frontend (detected)
Workflows Directory: .github/workflows/ (found)
Workflow Status:
container-build.yml ✅ PASS
release-please.yml ✅ PASS
test.yml ❌ FAIL (missing)
container-build.yml Checks:
checkout v4 ✅ PASS
build-push-action v6 ✅ PASS
Multi-platform amd64,arm64 ✅ PASS
Caching GHA cache ✅ PASS
Permissions Explicit ✅ PASS
release-please.yml Checks:
Action version v4 ✅ PASS
Token MY_RELEASE... ✅ PASS
Missing Workflows:
- test.yml (recommended for frontend projects)
Overall: 1 issue found
If --fix flag or user confirms:
Update .fvh-standards.yaml:
components:
workflows: "2025.1"
name: Build Container
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [published]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run test:coverage
| Flag | Description |
|---|---|
--check-only | Report status without offering fixes |
--fix | Apply fixes automatically |
/configure:container - Comprehensive container infrastructure (builds, registry, scanning)/configure:dockerfile - Dockerfile configuration and security/configure:release-please - Release automation specifics/configure:all - Run all FVH compliance checksfvh-ci-workflows skill - Workflow patternsgithub-actions-inspection skill - Workflow debugging