Files
my-rook-config/.github/actionlint.yaml
T
Joshua Hoblitt 34cc8751cf ci: lint GitHub Actions workflows with actionlint
Run actionlint over the workflow files through the `make lint.workflows`
target (added in PR 17795) so the check behaves identically when run
locally and in CI, and narrow the workflow's path filter to the
lint-relevant files.

Add .github/actionlint.yaml to ignore the composite action definitions
under .github/workflows/<name>/action.{yml,yaml}: actionlint only
understands workflow files and otherwise mis-parses composite actions as
malformed workflows.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-06-22 16:04:55 -07:00

11 lines
452 B
YAML

# actionlint configuration.
# https://github.com/rhysd/actionlint/blob/main/docs/config.md
paths:
# Composite actions live under .github/workflows/<name>/action.{yml,yaml}.
# actionlint only understands workflow files, so it mis-parses these as
# workflows ("jobs"/"on" section missing, unexpected "runs"/"inputs" keys).
# It cannot lint composite action definitions, so ignore them entirely.
"**/action.{yml,yaml}":
ignore:
- ".*"