GitHub "CI completed" automation trigger never fires on PR-scoped automations

Where does the bug appear (feature/product)?

Grok Bot

Describe the Bug

Grok Bot routines with a GitHub trigger on ci-passed / ci-failed, scoped to a single pull request, never fire. The PR checks finish normally, but the routine stays at “never run”.

Other GitHub triggers on the same repository and connection (e.g. pr-merged) fire as expected, and the Cursor GitHub App has read/write on checks and read on commit statuses.

Expected: the routine runs when the PR’s CI completes.
Actual: no run is ever triggered.

Reproducible on several PRs.

Steps to Reproduce

  1. Create a Grok Bot routine with a GitHub trigger on a repository, scoped to one open pull request, with events ci-passed and ci-failed.
  2. Push to that pull request so its CI checks run.
  3. Wait until all checks have completed (passed or failed).
  4. Look at the routine: it still shows “never run”.
  5. For comparison, a pr-merged routine on the same repository does fire when a PR is merged.

Expected Behavior

The routine runs once the pull request’s CI checks complete (ci-passed or ci-failed).

Operating System

MacOS

Version Information

Version: 0.75.0
Built: 2026-10-21T16:11:38.972Z
Release Track: stable
OS: darwin

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @my2ndhead,

A CI routine scoped to one pull request fires only when GitHub reports a finished check suite that GitHub itself links to that pull request. PR merged events come in a different way, which is why that routine fires on the same repo while the CI one doesn’t.

There are a few setups where GitHub’s check suite carries no link to the PR, or where it gets skipped, so the routine never fires:

  1. The pull request was opened from a fork.
  2. Your CI reports results as commit statuses (some external CI services do this) instead of GitHub check runs.
  3. The same commit is part of more than one open pull request.
  4. The commits were pushed by the bot through the Cursor GitHub App rather than by you. This one is an issue the team is already tracking.

In the meantime, a routine on “PR pushed” for that pull request, with instructions to wait for the checks and then read their results, should get you the same outcome. A short scheduled routine that checks the PR’s checks and deletes itself once they finish also works.

Does your case fall into one of the above?

Thanks Colin, that explains it.

It’s case 4: the commits are pushed by Cursor cloud agents through the Cursor GitHub App. Please keep me posted on the tracked fix; until then we’ll use a short scheduled routine that checks the PR’s checks and deletes itself.

Thanks for confirming, that helps a lot.

Commits pushed by Cursor cloud agents through the Cursor GitHub App are the case the team is already tracking, and I’ve added your report to it so the Grok Bot routine side is covered too. I can’t share a timeline, but I’ll post here when there’s news.

The scheduled routine that checks the PR’s checks and deletes itself is a good approach in the meantime.