Automations with Send to Slack don’t get My Secrets (GH_TOKEN)

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

My runtime secret GH_TOKEN (Cloud Agents → My Secrets, scoped to my repo) is not injected into Automations that have the Send to Slack tool. Automations without it get the secret.

Without the secret, gh falls back to the Cursor app token, and gh issue create fails with “Resource not accessible by integration”.

Steps to Reproduce

  1. Add a secret under Cloud Agents → My Secrets.
  2. Create two personal Automations on the same repo, one with Send to Slack and one without.
  3. Run echo "GH_TOKEN=${GH_TOKEN:+set}" in both.

Expected Behavior

GH_TOKEN=set in both Automations. Actual: empty in the one with Send to Slack.

Operating System

MacOS

Version Information

Cloud Agents / Automations from the cursor.com dashboard. No IDE or CLI involved.

For AI issues: which model did you use?

Grok 4.7

For AI issues: add Request ID with privacy disabled

bc-c3c764f3-bff0-4a55-8145-7839860e1891 (Generate docs, Oct 20, has Send to Slack, GH_TOKEN empty)

Additional Information

Workaround: I removed Send to Slack from my Automations. They get the secret again, but I lose Slack notifications.

I reported this by email in ticket T-H11164 on Oct 20. That ticket was opened on Oct 12 and has had no reply from a person since. A separate ticket I opened for this bug was closed as a duplicate of T-H11164. If someone on the team could pick it up, I would appreciate it.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Danispeed!

The run ID you shared is from Oct 20, which is too old for us to trace. A fresh run would let us check exactly what that automation got:

  1. Add Send to Slack back to one of the affected automations (for example “Generate docs”).
  2. Run it once with your echo "GH_TOKEN=${GH_TOKEN:+set}" check.
  3. Reply here with that run’s bc- ID.