Complete GitHub Actions toolkit with generation and validation capabilities for workflows, custom actions, and CI/CD configurations
73
91%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
This directory contains example workflow files for testing the GitHub Actions Validator skill.
A complete, valid CI pipeline that passes all validation checks.
Purpose: Test successful validation flow
Usage:
bash scripts/validate_workflow.sh assets/valid-ci.ymlExpected Result: All validations pass
A workflow containing common intentional errors for testing error detection.
Purpose: Test error detection and reference file consultation
Errors included:
ubuntu-lastest instead of ubuntu-latest)**.js instead of **/*.js)biuld instead of build)Usage:
bash scripts/validate_workflow.sh assets/with-errors.ymlExpected Result: Multiple errors reported by actionlint
A workflow using older action versions to test version validation.
Purpose: Test action version checking
Version issues included:
actions/checkout@v4 - OUTDATED (current: v6)actions/setup-node@v4 - OUTDATED (current: v6)actions/upload-artifact@v3 - DEPRECATED (minimum: v4)docker/build-push-action@v5 - OUTDATED (current: v6)Usage:
bash scripts/validate_workflow.sh --check-versions assets/outdated-versions.ymlExpected Result: Version warnings for outdated actions
Test successful validation:
bash scripts/validate_workflow.sh assets/valid-ci.ymlTest error detection:
bash scripts/validate_workflow.sh assets/with-errors.ymlTest version checking:
bash scripts/validate_workflow.sh --check-versions assets/outdated-versions.ymlTest all examples:
for file in assets/*.yml; do
echo "=== Testing: $file ==="
bash scripts/validate_workflow.sh --lint-only "$file"
echo ""
done