-
Notifications
You must be signed in to change notification settings - Fork 9
Run shellcheck on all branches, fix all violations, and update documentation #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
lunarcloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs run the check twice
Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
Fixed in 901739f. The workflow now uses:
This prevents duplicate runs while still checking all commits. |
lunarcloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like you to also fix the shell check violations
Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
Fixed all 80 shellcheck violations in commit 51e9eb6. Changes include:
All scripts now pass shellcheck with zero violations. |
|
@copilot Update the AGENTS.md to reflect the new requirements |
Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
Updated AGENTS.md in commit 93b3555 to document:
All new conventions established in this PR are now documented. |
lunarcloud
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the whiptail interface checklist returns the usage text instead of launching the TUI dialog. Figure out why and fix it
Remove quotes from conditional --scrolltext argument to prevent empty string being passed as an argument when RECMD_SCROLL is false. Added shellcheck directives to document intentional word splitting. Co-authored-by: lunarcloud <1565970+lunarcloud@users.noreply.github.com>
Fixed in 55a79e0. The issue was that quoting the conditional Solution: Removed quotes from Tested and verified whiptail checklist, radiolist, and msgbox all display correctly now. |
Plan to Run Shellcheck on Every Commit
The repository already has a GitHub Actions workflow (
.github/workflows/analyze.yml) that runs shellcheck.Changes Made:
masterpushtomasterbranch onlyShellcheck Fixes Summary:
$(...)instead of unquoted)Whiptail Checklist Fix:
$([ "$RECMD_SCROLL" == true ] && echo "--scrolltext")in lists.sh and messages.shDocumentation Updates (AGENTS.md):
Final Configuration:
This ensures:
pull_requesttrigger)pushtrigger)pull_requestOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.