You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add shellcheck validation to deployment scripts
Add comprehensive shell script linting with shellcheck:
Script Fixes:
- Fix lib/ssh-helpers.sh issues
- Change ${@:3} to ${*:3} for proper string concatenation
- Add quotes around variables in comparisons (SC2086)
- All retry functions now follow best practices
- Fix health-check.sh issues
- Quote SSH_USER and SSH_HOST variables properly
- Add shellcheck configuration
- Create .shellcheckrc to disable SC1091 (sourced files)
- Add shellcheck directives to all scripts
Lint Workflow Integration:
- Add new "shellcheck" job to lint.yml
- Validates all deployment scripts in parallel
- Runs on every lint workflow execution
- Checks compose-workflow repository (owine/compose-workflow)
- Update lint-summary job
- Include shellcheck results in summary
- Add shellcheck status to final determination
- Display shellcheck validation results
- Update Discord notifications
- Add shellcheck status to validation summary
- Include dedicated shellcheck failure section
- Show actionable error messages
Benefits:
✅ Catch common shell scripting errors early
✅ Enforce best practices (quoting, variable usage)
✅ Improve script reliability and maintainability
✅ Validate scripts on every workflow run
✅ Prevent deployment of broken scripts
All deployment scripts now pass shellcheck validation with
best practices enforced across the codebase.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments