shared-actions/vacuum-lint
DMI e3c0fdac23
All checks were successful
validate-shared-actions / validate-shared-actions (pull_request) Successful in 34s
Aikido Security PR Check / Aikido Security Scan (pull_request) Successful in 45s
feat: add vacuum-lint action with documentation
2026-06-03 14:42:18 +00:00
..
action.yml feat: add vacuum-lint action with documentation 2026-06-03 14:42:18 +00:00
README.md feat: add vacuum-lint action with documentation 2026-06-03 14:42:18 +00:00

vacuum-lint

Action for validating and linting OpenAPI specifications using Vacuum.

Inputs

Input Required Default Description
spec-dir No spec Directory containing the OpenAPI spec
spec-filename No openapi.json Filename of the OpenAPI spec
rules-filename No vacuum.rules.yaml Filename of the lint rules config file
ignore-filename No vacuum.ignore.yaml Filename of the lint ignore file
min-score No 70 Minimum linting score for the check to pass

Usage

- uses: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/vacuum-lint@vacuum-lint-v1

Notes

  • If rules-filename is found inside spec-dir, it is passed to Vacuum via -r to apply custom rulesets; otherwise Vacuum uses its default rules.
  • If ignore-filename is found inside spec-dir, it is passed to Vacuum via --ignore-file to suppress known violations.
  • The action fails when the computed linting score falls below min-score.