Skip to content

refactor: consolidate reaction steps in code-review workflow - #1

Merged
isuttell merged 3 commits into
mainfrom
refactor/consolidate-reaction-steps
Dec 7, 2025
Merged

isuttell merged 3 commits into
mainfrom
refactor/consolidate-reaction-steps

Conversation

@isuttell

@isuttell isuttell commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

Summary

Consolidate the success/failure reaction steps into a single step with conditional logic. Also includes support for automatic PR review triggers.

Changes

  • Merge "React on success" and "React on failure" into single "React to completion" step
  • Add trigger_type input to distinguish comment-triggered vs automatic reviews
  • Add gh run list to allowed tools for better CI visibility
  • Update README with auto-trigger documentation and examples

Risk Assessment

LOW - Refactoring workflow steps with equivalent functionality. No changes to core review logic.

Changed Areas

  • .github/workflows/code-review.yml - Reaction step consolidation and trigger_type support
  • README.md - Documentation updates

Security Considerations

None - no auth, secrets, or data handling changes.

Performance Impact

None - same number of API calls, just organized differently.

Breaking Changes

NO - trigger_type defaults to comment maintaining backward compatibility.


🤖 Generated with Claude Code

isuttell and others added 3 commits December 7, 2025 12:05
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>
@isuttell
isuttell merged commit 089e739 into main Dec 7, 2025
1 check passed
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