From d1db595f17d4df007aeb20edabb08bdd7cff1fd1 Mon Sep 17 00:00:00 2001 From: pi Date: Wed, 1 Jul 2026 22:06:40 +0200 Subject: [PATCH] ci(lint): pass explicit workflow paths to actionlint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .gitea/workflows/lint.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 00bda6e..5f4cfaa 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -61,4 +61,9 @@ jobs: # other SC3xxx code. env: 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