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