CICD-486 · Pipeline configuration linting
Encyclopedia · Pipeline governance and operational management · All snippets
Previous · CICD-485 · Next · CICD-487
1. Where it fits
- Placement CI lint step.
- Prerequisites trusted policy checkout and normalized deployment events with scoped access.
- Platforms local-linux, github-actions, gitea-actions.
2. Copy the snippet
bash
yamllint -c .yamllint.yml .github/workflows .gitea/workflows
actionlint3. How it works
The linter checks Actions syntax and catches a subset of expression and workflow consistency errors without starting a runner.
4. Verify the result
Use .yamllint rules compatible with workflow syntax and treat GitHub actionlint as a baseline for Gitea-specific differences.
Validation syntax-validated (Bash parse). Status definitions.