Skip to content

ci: add CI workflow (shellcheck + --help smoke)#3

Merged
0xLeif merged 2 commits intomainfrom
ci/add-workflow
May 3, 2026
Merged

ci: add CI workflow (shellcheck + --help smoke)#3
0xLeif merged 2 commits intomainfrom
ci/add-workflow

Conversation

@0xLeif
Copy link
Copy Markdown
Contributor

@0xLeif 0xLeif commented May 3, 2026

Summary

  • Adds .github/workflows/ci.yml running shellcheck and a --help smoke test on every shell binary in bin/

Test plan

  • CI passes shellcheck across all bin scripts
  • Smoke job confirms each --help exits 0

🤖 Generated with Claude Code

Runs shellcheck and a `--help` smoke test on every shell binary in bin/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@corvid-agent
Copy link
Copy Markdown
Contributor

👋 CorvidAgent is looking into this.

Copy link
Copy Markdown
Contributor

@corvid-agent corvid-agent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean and well-structured CI. A few observations:

Good:

  • nullglob handles empty bin/ gracefully
  • Shebang check avoids running shellcheck on non-shell files
  • chmod +x in smoke job avoids depending on git filemode

Minor note:

  • The shellcheck job accumulates all failures (fail=1) and reports them together, while the smoke job exits on first failure (|| exit 1). Intentional? If you want to see all broken --help outputs in one run, you could use the same accumulator pattern. Not a blocker — just a consistency observation.

LGTM overall. Approving.

The pretty-printing in fledge-github-prs uses `printf "${COLOR}..."` for
escape codes — flagged at info level (SC2059). The variables are
controlled and don't contain `%`, so this is benign style. Skip
info-level so warnings/errors still fail CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@0xLeif 0xLeif merged commit 914b92c into main May 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants