claude-code - 💡(How to fix) Fix [BUG] Routines does not trigger on github PR open [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48845Fetched 2026-04-16 06:49:21
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
0
Author
Participants
Timeline (top)
mentioned ×3commented ×2subscribed ×2labeled ×1

Error Message

Error Messages/Logs

No error messages.

Code Example

No error messages.

---

Repositories
openwrt/openwrt
Triggers on
openwrt/openwrt
Pull request opened
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

  1. Link Claude code with github account A.
  2. Create a Claude code routine with a trigger on PR open in a organization
  3. Disconnect Claude code again from this github account.
  4. 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.

extent analysis

TL;DR

The Claude code routine is not triggering due to a potential authentication or authorization issue related to the GitHub account connection.

Guidance

  • Verify that the @openwrt-ai GitHub account has the necessary permissions to trigger the Claude code routine on the openwrt/openwrt repository.
  • Check the Claude code routine configuration to ensure it is set up to trigger on the correct repository and event (PR open).
  • Confirm that the @openwrt-ai account is properly connected to the Claude code app and has the required permissions to access the openwrt/openwrt repository.
  • Test the routine with a different GitHub account or repository to isolate the issue.

Example

No code snippet is provided as it is not necessary for this issue.

Notes

The issue may be related to the fact that the @openwrt-ai account was not the original account connected to the Claude code app, and the routine was created with a different account (@hauke). This could be causing an authentication or authorization issue.

Recommendation

Apply workaround: Try reconnecting the @openwrt-ai GitHub account to the Claude code app and reconfigure the routine to ensure it is set up correctly. If the issue persists, consider testing with a different GitHub account or repository to isolate the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Routines does not trigger on github PR open [2 comments, 2 participants]