ci(lint): pass explicit workflow paths to actionlint
Lint workflows / actionlint (push) Successful in 15s

actionlint's no-arg project auto-detection looks for .github/workflows
and hard-fails (exit 3, 'no project was found') on this .gitea/workflows
layout — observed on run 420. Glob the workflow files explicitly. The
Gitea shell guard step already passed in that run; only the actionlint
invocation needed the path fix.
This commit is contained in:
pi
2026-07-01 22:06:40 +02:00
parent 26384fe9f1
commit d1db595f17
+6 -1
View File
@@ -61,4 +61,9 @@ jobs:
# other SC3xxx code. # other SC3xxx code.
env: env:
SHELLCHECK_OPTS: "-e SC2086 -e SC2016 -e SC2129 -e SC2001 -e SC2312" SHELLCHECK_OPTS: "-e SC2086 -e SC2016 -e SC2129 -e SC2001 -e SC2312"
run: actionlint -color # Pass explicit paths: actionlint's no-arg mode auto-detects a
# project by looking for `.github/workflows`, which doesn't exist in
# this `.gitea/workflows` repo and hard-fails with exit 3
# ("no project was found"). Globbing the workflow files is the
# supported way to lint a non-GitHub layout.
run: actionlint -color .gitea/workflows/*.yml