You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2026. It is now read-only.
Repository navigation
Commit a724f60
Browse filesBrowse the repository at this point in the historyBrowse files
ci: open automation PRs with GITHUB_TOKEN instead of Docs Bot (#1198)
* ci: open automation PRs with GITHUB_TOKEN instead of Docs Bot
Drop the GitHub App token helper and generate llms.txt in the toolkit
docs workflow so automation PRs no longer depend on a second workflow
starting from the bot push.
Co-authored-by: Anirudh Kamath <kamath@users.noreply.github.com>
* fix: avoid Biome noTemplateCurlyInString in workflow test
The assertion for github.token used a GitHub Actions expression inside a
regular string, which Ultracite flagged as a leftover template placeholder.
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Anirudh Kamath <kamath@users.noreply.github.com>
Copy file name to clipboardExpand all lines: .github/workflows/generate-toolkit-docs.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,15 @@ This workflow regenerates toolkit JSON and opens a PR with the changes. It can b
7
7
1. Builds the toolkit docs generator.
8
8
2. Generates toolkit JSON in `toolkit-docs-generator/data/toolkits` using the experience API's public tool catalog, which serves tool definitions and toolkit branding in one anonymous read.
9
9
3. Syncs integrations sidebar navigation from the generated JSON.
10
-
4. Creates or updates a PR on the stable `automation/toolkit-docs` branch if any files changed. Later runs overwrite that open PR with the latest generated docs.
10
+
4. Regenerates `public/llms.txt` so the automation PR does not depend on a second workflow.
11
+
5. Creates or updates a PR on the stable `automation/toolkit-docs` branch if any files changed. Later runs overwrite that open PR with the latest generated docs.
echo "::warning::Could not request review on PR #${{ steps.cpr.outputs.pull-request-number }}: $(cat review-error.log)"
142
142
fi
143
143
env:
144
-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
144
+
GH_TOKEN: ${{ github.token }}
145
145
146
146
- name: Upload generation report
147
147
if: always()
@@ -224,7 +224,7 @@ jobs:
224
224
225
225
if [ "$GENERATION_SUCCEEDED" = "true" ]; then
226
226
headline=":warning: Toolkit docs generated, but the workflow failed afterward"
227
-
detail="Generation succeeded, so the toolkit JSON is fine. A later workflow step failed — inspect the run to determine whether sidebar sync, PR creation, artifact upload, or Slack notification needs attention."
227
+
detail="Generation succeeded, so the toolkit JSON is fine. A later workflow step failed — inspect the run to determine whether sidebar sync, llms.txt generation, PR creation, artifact upload, or Slack notification needs attention."
0 commit comments