actions-lint-fix

Lint and correct reusable GitHub Actions YAML files for formatting and versioning.

1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/intartif/demos-agent-skills --skill actions-lint-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: actions-lint-fix
Source: https://github.com/intartif/demos-agent-skills/tree/main/.github/skills/actions-lint-fix
Command: npx skills add https://github.com/intartif/demos-agent-skills --skill actions-lint-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Revisa, lintea y corrige actions reusables de GitHub Actions: formato, claves válidas y validación de versiones de acciones (e.g., detectar 'uses: actions/checkout@v15' y sugerir @v6 o pin a SHA). Valida claves requeridas 'inputs' y 'runs'.

Core Features & Use Cases

  • Revisión y lint de YAML de actions reusables en repos.
  • Validación de versiones de actions usadas ('uses:') y sugerencias de versión estable.
  • Integración en pipelines CI/CD y generación de reportes de hallazgos.
  • Corrección automática de versiones irreales/no soportadas.

Quick Start

Ejecuta un lint de las actions reusables en el repositorio, especificando archivos concretos o todas las actions bajo actions/.

Frequently Asked Questions about actions-lint-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I lint and fix reusable GitHub Actions YAML files?

Lint and fix reusable GitHub Actions by validating formatting, checking required keys like inputs and runs, and enforcing correct action versioning against YAML files in actions/**/*.yml or actions/**/*.yaml.

What tools do I need to validate GitHub Actions versioning and formatting?

Validating GitHub Actions versioning and formatting requires yamllint, act, shellcheck, and jq to parse YAML structures, test execution logic, and enforce required keys while prohibiting root-level on and jobs.

Can I automatically correct invalid action version references in CI/CD pipelines?

Automatically correct invalid action version references in CI/CD pipelines by detecting unsupported versions like actions/checkout@v15 and suggesting stable alternatives such as @v6 or pinning to a specific SHA.

What YAML keys are required when defining reusable GitHub Actions?

Required YAML keys for reusable GitHub Actions include name, description, inputs, and runs. The root of action definitions must prohibit on and jobs keys to ensure proper reusable action structure.

Does this GitHub Actions linting tool work with all YAML files in my repository?

GitHub Actions linting applies specifically to reusable action definitions located at actions/**/*.yml or actions/**/*.yaml, targeting policy compliance and versioning security rather than linting general workflow YAML files.