Skip to content

ci: keep Docs Bot so automation still starts Test - #1192

Merged
cursor[bot] merged 2 commits into
teallarson/simplify-ci-env-varsfrom
cursor/restore-docs-bot-token-140b
Sep 14, 2026
Merged

cursor[bot] merged 2 commits into
teallarson/simplify-ci-env-varsfrom
cursor/restore-docs-bot-token-140b

Conversation

@kamath

@kamath kamath commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Fixes the Bugbot finding on #1190: GITHUB_TOKEN pushes and PRs do not start other workflows.

What I verified

GitHub does not start workflows from GITHUB_TOKEN events (except workflow_dispatch / repository_dispatch).

#1190 switched llmstxt, generate-toolkit-docs, and update-design-system-dependency to GITHUB_TOKEN. The test artifact from that change, #1191, was opened by github-actions[bot] and never ran Test. Its checks are only Vercel, Bugbot, and a skipped reindex — so the required check is missing on that SHA.

The same gap hits human PRs: an llms.txt commit pushed with GITHUB_TOKEN creates a new head SHA with no follow-up Test run.

I also ran the new workflow-token tests against #1190's YAML: all three files use secrets.GITHUB_TOKEN and none use ./.github/actions/app-token.

What changed

Restore the Docs Bot GitHub App token (.github/actions/app-token) for those three workflows. App-token events are not subject to the GITHUB_TOKEN restriction, so Test still runs on the new SHA.

Add contract tests so a later cleanup cannot drop Docs Bot again:

  • tests/docs-automation-tokens.test.ts
  • toolkit-docs-generator/tests/workflows/generate-toolkit-docs.test.ts

#1190's other CI cleanup is unchanged.

How to verify

  1. Merge this into Simplify CI and remove dead i18n automation #1190.
  2. Confirm Test runs on Simplify CI and remove dead i18n automation #1190 (it targets main).
  3. Re-run generate-toolkit-docs and confirm the automation PR runs Test, unlike [AUTO] Adding MCP Servers docs update #1191.
Open in Web Open in Cursor 

GITHUB_TOKEN events do not start other workflows. Restore the Docs Bot
GitHub App token so llms.txt commits and automation PRs still run Test.

Co-authored-by: Anirudh Kamath <kamath@users.noreply.github.com>
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 14, 2026 11:58pm UTC

Request Review

@kamath
kamath marked this pull request as ready for review September 14, 2026 23:51
GITHUB_TOKEN pushes and PRs do not start other workflows. Keep Test
running on llms.txt commits and automation PRs by locking those
workflows to the Docs Bot GitHub App token.
@cursor
cursor Bot merged commit 22e9c85 into teallarson/simplify-ci-env-vars Sep 14, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants