GitHub issue-comment automation triggers intermittently fail

Subject: GitHub issue-comment automation triggers intermittently fail

I have two Cursor automations configured for the GitHub repository ryeary-create/YDP-Trader:

  • YDP Trader: Implementation automation, matching an implementation command.
  • YDP Trader — Preview Deployment: Deployment automation, matching /cursor-preview-deploy.

Both are active. The Cursor GitHub App is installed with All repositories selected.

The Preview automation successfully ran once (run bc-3014f496-8616-4aea-9eb9-975299dec1d2), but subsequent GitHub issue comments have not consistently started it. Some earlier deployment comments incorrectly triggered the implementation automation.

After tightening the implementation trigger to an anchored regular expression, the latest deployment comment started neither automation:

https://github.com/ryeary-create/YDP-Trader/issues/11#issuecomment-6110782946

Please investigate GitHub issue-comment event delivery, automation matching, and whether the automation is receiving or discarding these events. Please also clarify how to access trigger delivery diagnostics.

The Preview automation has a connected Vercel tool, but deployment remains blocked until the correct automation can run and verify its safety requirements.

Hi there!

We detected that this may be a bug report, so we’ve moved your post to the Bug Reports category.

To help us investigate and fix this faster, could you edit your original post to include the details from the template below?

Bug Report Template - Click to expand

Where does the bug appear (feature/product)?

  • Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
  • Terminal & commands
  • Models, pricing & API keys (availability, Auto/Max, BYOK/Bedrock)
  • MCP & tools
  • Cloud Agents & Automations (cursor.com/agents, scheduled/event)
  • BugBot & Code Review
  • Cursor CLI
  • Cursor Mobile
  • Remote (SSH / Dev Containers / WSL)
  • Account, billing & login
  • Something else…

Describe the Bug
A clear and concise description of what the bug is.


Steps to Reproduce
How can you reproduce this bug? We have a much better chance at fixing issues if we can reproduce them!

  1. …
  2. …
  3. …

Expected Behavior
What is meant to happen here that isn’t working correctly?


Screenshots / Screen Recordings
If applicable, attach images or videos (.jpg, .png, .gif, .mp4, .mov)


Operating System

  • Windows 10/11
  • MacOS
  • Linux

Version Information

  • For Cursor IDE: Menu → About Cursor → Copy
  • For Cursor CLI: Run agent about in your terminal
IDE:
Version: 2.xx.x
VSCode Version: 1.105.1
Commit: ......

CLI:
CLI Version 2026.01.17-d239e66

For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)


For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…


Additional Information
Add any other context about the problem here.


Does this stop you from using Cursor?

  • Yes - Cursor is unusable
  • Sometimes - I can sometimes use Cursor
  • No - Cursor works, but with this issue

The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!

Hey @Robert_Yeary, thanks for the detailed report.

I took a look, and the comment events from your repo are reaching us fine. Each comment is checked against both automations. Your latest deployment comment was received but didn’t match either trigger’s comment filter, so nothing started.

The cause is the Preview Deployment trigger’s keyword filter. It’s saved with a leading space (" /cursor-preview-deploy"). Keyword filters are a case-insensitive “contains” match on the exact text you enter, so a comment that starts with /cursor-preview-deploy, with no space before it, won’t match. The earlier cross-firing has a separate cause: before your regex change, the implementation automation was set to run on any comment from you.

To fix it:

  1. Open the Preview Deployment automation and click the comment filter on its trigger.
  2. Delete the leading space so it reads /cursor-preview-deploy. Or turn on “Use Regex” and use ^/cursor-preview-deploy\b if the command should always start the comment.
  3. Save, then post a new comment on the issue. Editing an existing comment doesn’t trigger automations.

Note that “Run test” skips the comment filter, so a fresh comment is the real check. The Preview trigger is also set to fire for comments from anyone, so you may want to restrict it to your GitHub username like the implementation trigger.

On diagnostics: there isn’t a self-serve trigger delivery log today. Run history only shows runs that actually started, and comments that don’t match a filter are skipped silently. If a comment still doesn’t start the right automation after this change, reply with the comment link and we’ll check it on our side.