[BUG] Routines does not trigger on github PR open
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I created a Claude code routine to automatically to github PR reviews on new PRs in the https://github.com/openwrt/openwrt repository. The Claude code routine never gets triggered.
What Should Happen?
The Claude code routine should get triggered when a new PR is created here https://github.com/openwrt/openwrt/pulls
Error Messages/Logs
No error messages.
Steps to Reproduce
- Link Claude code with github account A.
- Create a Claude code routine with a trigger on PR open in a organization
- Disconnect Claude code again from this github account.
- Connect it to a different account and configure the same.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.101
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
I created a Claude code routine with a trigger on Github PR open at https://claude.ai/code/routines successfully.
It says:
Repositories
openwrt/openwrt
Triggers on
openwrt/openwrt
Pull request opened
There are no filters configured.
I am did not connect this github account to Claude, but @openwrt-ai.
The routine is never triggered.
There are new PRs showing up: https://github.com/openwrt/openwrt/pulls
In the beginning I had the Claude code account connected to the @hauke github account. There one routine run was successfully triggered.
The Claude code app is installed in the @openwrt-ai account and the @openwrt organization.
The user @openwrt-ai has triage permissions on the https://github.com/openwrt/openwrt repository.
I removed the routine and created it again, did not help.
I disconnected the github account and connected it again, did not help.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗