Add CI monitoring for PRs via Claude Code hook#1141
Closed
nikosbosse wants to merge 2 commits intomainfrom
Closed
Conversation
After pushing or creating a PR, Claude will automatically check for CI failures, then monitor every 2 minutes for 15 minutes. Straightforward issues are fixed directly; complex ones are escalated to the user. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add gh pr checks and gh pr view to the permissions allow list so the monitoring hook can run without prompting. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1141 +/- ##
=======================================
Coverage 97.94% 97.94%
=======================================
Files 37 37
Lines 1951 1951
=======================================
Hits 1911 1911
Misses 40 40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
seabbs
reviewed
Mar 25, 2026
Contributor
seabbs
left a comment
There was a problem hiding this comment.
I'm not sure I love the idea of enforcing this on contributors? It seems like maybe its a skill we can suggest they use in their own top level claude?
Contributor
|
Also you only need one of these right? The hook |
Collaborator
Author
|
Yeah, I think you're right. Probably shouldn't be part of the repo. Will close it. But if you want to steal the idea, steal away! |
Contributor
|
In the middle of doing so! |
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.
CLAUDE:
Summary
.claude/CLAUDE.mdwith PR monitoring instructions — after pushing or creating a PR, Claude checks CI status and monitors every 2 minutes for 15 minutes.claude/settings.jsonwith aPostToolUsehook that triggers automatically aftergit pushorgh pr createTest plan
/loop 2mbackground monitoring starts after the initial check🤖 Generated with Claude Code