Comprehensive toolkit for validating, linting, and testing GitHub Actions workflow files, custom local actions, and public actions. Use this skill when working with GitHub Actions YAML files (.github/workflows/*.yml), validating workflow syntax, testing workflow execution with act, or debugging workflow issues.
93
Does it follow best practices?
Validation for skill structure
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 ""
doneInstall with Tessl CLI
npx tessl i pantheon-ai/github-actions-validator@0.1.1