fix(ci): pass -x and --source-path to shellcheck #1

Merged
barrettruth merged 1 commit from fix/shellcheck-follow-sources into main 2026-04-24 22:59:08 +00:00
barrettruth commented 2026-04-24 22:57:03 +00:00

Ubuntu's apt-get shellcheck treats SC1091 (info: source not specified as input) as a non-zero exit. The source comments in ops.sh / mosaic.tmux are relative to each script, so we need both -x (follow sources) and --source-path=SCRIPTDIR (resolve relative to each file's directory) for shellcheck to actually find them.

Verified locally: shellcheck -x --source-path=SCRIPTDIR --source-path=SCRIPTDIR/scripts ... exits 0.

Ubuntu's apt-get shellcheck treats SC1091 (info: source not specified as input) as a non-zero exit. The source comments in `ops.sh` / `mosaic.tmux` are relative to each script, so we need both `-x` (follow sources) and `--source-path=SCRIPTDIR` (resolve relative to each file's directory) for shellcheck to actually find them. Verified locally: `shellcheck -x --source-path=SCRIPTDIR --source-path=SCRIPTDIR/scripts ...` exits 0.
Sign in to join this conversation.
No description provided.