Skip to content

Conversation

@DevelopmentCats
Copy link
Contributor

No description provided.

- Add ShellCheck as npm dependency (v4.1.0)
- Create shellcheck_validate.sh script with paths-filter integration
- Add .shellcheckrc configuration file with Terraform-specific disables
- Integrate ShellCheck step into CI workflow
- Use selective validation based on changed files
Fix ShellCheck warnings across all shell scripts:

- SC2155: Separate variable declaration and assignment to avoid masking return values
- SC2068: Quote array expansions to prevent word splitting
- SC2164: Add error handling to cd commands with || exit
- SC2088: Replace tilde with $HOME for proper expansion in quotes
- SC2206: Use robust array assignment with IFS read instead of word splitting
- SC1090: Add disable directive for non-constant source paths

All changes preserve or improve functionality while following shell scripting best practices.
@DevelopmentCats DevelopmentCats changed the title WIP: Shellcheck CI Step ci: add shellcheck step Oct 27, 2025
- Added new shellcheck disables for Terraform syntax in .shellcheckrc.
- Enhanced quoting in start.sh and codex scripts to prevent word splitting and globbing issues.
- Updated shellcheck validation script to exclude .terraform directory from checks.
@DevelopmentCats DevelopmentCats marked this pull request as ready for review November 10, 2025 22:28
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.

1 participant