refactor: simplify code-review workflow and add pre-commit hooks - #2
Merged
Merged
Conversation
Merge "React on success" and "React on failure" steps into a single "React to completion" step that uses job.status to determine the emoji. Also includes: - Add trigger_type input for auto vs comment-triggered reviews - Add gh run list to allowed tools - Update README with auto-trigger documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Consolidate actionlint and prettier checks into a single pre-commit step. This ensures CI uses the same checks as local development. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change 'do not like read' to 'do not like to read'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Simplifies the code-review workflow by removing redundant context gathering and consolidates CI checks into pre-commit hooks.
Changes
code-review.ymlby removing pre-gathered PR context (workflow runs, check runs) - Claude can fetch this on-demand viaghCLIRisk Assessment
LOW
Changed Areas
.github/workflows/code-review.yml- Workflow simplificationCLAUDE.md- Documentation updatesSecurity Considerations
None - no auth, secrets, or data handling changes.
Performance Impact
Workflow should run faster with less pre-gathering of context that may not be needed.
Breaking Changes
NO