-
Notifications
You must be signed in to change notification settings - Fork 17
👣 [just] gh-process v4.4 fixes bugs and adds install script for prereqs #21
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
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.
Pull request overview
This PR updates the gh-process justfile workflow to version 4.4, fixing bugs and adding infrastructure for managing prerequisites. Key improvements include removing debug tracing from the PR workflow, adding pull request validation, and introducing comprehensive tooling for shellcheck linting and prerequisite installation.
- Removes debug tracing (
set -x) from PR creation workflow for cleaner output - Adds new recipes for PR body management, release age tracking, and automated workflow updates
- Introduces shellcheck linting for bash scripts in just recipes and prerequisite installation script
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| justfile | Imports new shellcheck.just module for bash script linting |
| .just/shellcheck.just | New module that extracts and validates bash scripts from just recipes using shellcheck |
| .just/install-prerequisites.sh | New installation script that detects OS and helps install required tools (just, gh, shellcheck, markdownlint-cli2, jq) |
| .just/gh-process.just | Updates PR workflow to v4.4 with bug fixes, new validation checks, and additional recipes for PR management and release tracking |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| #!/bin/bash | ||
| set -euo pipefail # strict mode | ||
|
|
||
| if \! gh pr view &>/dev/null; then |
Copilot
AI
Dec 29, 2025
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 backslash before the exclamation mark is unnecessary and unconventional in bash. Use if ! gh pr view &>/dev/null; then instead for standard negation syntax.
| if \! gh pr view &>/dev/null; then | |
| if ! gh pr view &>/dev/null; then |
| # watch GHAs then check for Copilot suggestions | ||
| [group('Process')] | ||
| pr_checks: | ||
| pr_checks: _on_a_pull_request && claude_review |
Copilot
AI
Dec 29, 2025
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 dependency chain using && creates an implicit requirement that claude_review always runs after _on_a_pull_request. The comment on line 190 '# chains to claude_review' suggests this is intentional, but the recipe body still contains logic. Consider whether the chaining should happen after the recipe's own logic completes, or clarify the execution flow in the comment.
Code Review: PR #21 - gh-process v4.4SummaryThis PR adds significant enhancements to the just-based workflow automation, including bug fixes, new prerequisite installation tooling, and shellcheck integration. Overall, the changes are well-structured and add valuable functionality. Positive Aspects ✅
Issues & Concerns 🔴High Priority
Medium Priority
Low Priority
Suggestions 💡
Security Considerations 🔒
Testing Recommendations 🧪
Performance Considerations ⚡No significant performance concerns. The AWK-based script extraction is efficient, and temp file usage is reasonable for the workflow. ConclusionThis is a solid PR that adds useful functionality. The main concerns are around temp file security and quoting in AWK system() calls. Once those are addressed, this will be a great addition to the workflow automation. Recommendation: Address high-priority security issues before merging. Medium and low priority items can be follow-up work. Review generated by Claude Code |
Done
Meta
(Automated in
.just/gh-process.just.)