Skip to content
This repository was archived by the owner on Oct 27, 2026. It is now read-only.

Commit cdad8a0

Browse files
authored
Simplify CI and remove dead i18n automation (#1190)
1 parent 5bd7083 commit cdad8a0

25 files changed

Lines changed: 70 additions & 1318 deletions

‎.github/workflows/context7.yml‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎.github/workflows/generate-toolkit-docs.yml‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
repository_dispatch:
1010
types: [porter_deploy_succeeded]
1111
workflow_dispatch:
12+
inputs:
13+
public_catalog_url:
14+
description: "Override public catalog URL (staging only; production is the default)"
15+
required: false
16+
type: string
1217
# 11:00 UTC = 3 AM PST / 4 AM PDT — late enough that DST drift doesn't matter.
1318
schedule:
1419
- cron: "0 11 * * *"
@@ -67,11 +72,11 @@ jobs:
6772
--verbose \
6873
--api-source public-catalog \
6974
--llm-provider anthropic \
70-
--llm-model "$ANTHROPIC_MODEL" \
75+
--llm-model "claude-sonnet-4-6" \
7176
--llm-api-key "$ANTHROPIC_API_KEY" \
7277
--llm-max-tokens 8192 \
7378
--llm-editor-provider anthropic \
74-
--llm-editor-model "$ANTHROPIC_EDITOR_MODEL" \
79+
--llm-editor-model "claude-sonnet-4-6" \
7580
--llm-editor-api-key "$ANTHROPIC_API_KEY" \
7681
--toolkit-concurrency 8 \
7782
--llm-concurrency 15 \
@@ -84,19 +89,16 @@ jobs:
8489
working-directory: toolkit-docs-generator
8590
env:
8691
# Unset in normal runs: the generator defaults to the production
87-
# experience API, which needs no credentials. Set the secret to
88-
# point a run at staging or a local BFF.
89-
PUBLIC_CATALOG_URL: ${{ secrets.PUBLIC_CATALOG_URL }}
92+
# experience API. Pass public_catalog_url on workflow_dispatch to
93+
# point a manual run at staging or a local BFF.
94+
PUBLIC_CATALOG_URL: ${{ inputs.public_catalog_url }}
9095
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
91-
ANTHROPIC_MODEL: ${{ secrets.ANTHROPIC_MODEL || 'claude-sonnet-4-6' }}
92-
# Stronger model for the secret-coherence editor. Keeps
93-
# stale-secret cleanup precise instead of re-summarizing the whole
94-
# artifact.
95-
ANTHROPIC_EDITOR_MODEL: ${{ secrets.ANTHROPIC_EDITOR_MODEL || 'claude-sonnet-4-6' }}
9696

9797
- name: Sync toolkit sidebar navigation
9898
run: pnpm exec tsx toolkit-docs-generator/scripts/sync-toolkit-sidebar.ts --remove-empty-sections=false --verbose
9999

100+
# GITHUB_TOKEN PRs do not start other workflows. Docs Bot is a GitHub
101+
# App, so the opened automation PR still runs Test.
100102
- name: Get app token
101103
id: app-token
102104
uses: ./.github/actions/app-token

‎.github/workflows/llmstxt.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
name: Generate LLMSTXT
2828
runs-on: ubuntu-latest
2929

30-
permissions:
31-
contents: write
32-
pull-requests: write
33-
3430
steps:
3531
- name: Use Node.js
3632
uses: actions/setup-node@v4
@@ -66,6 +62,8 @@ jobs:
6662
echo "has_changes=false" >> $GITHUB_OUTPUT
6763
fi
6864
65+
# GITHUB_TOKEN pushes and PRs do not start other workflows. Docs Bot
66+
# is a GitHub App, so Test still runs on the new SHA.
6967
- name: Get app token
7068
if: steps.check-changes.outputs.has_changes == 'true'
7169
id: app-token
@@ -113,6 +111,7 @@ jobs:
113111

114112
- name: Enable Pull Request Automerge
115113
if: steps.check-changes.outputs.has_changes == 'true' && github.event_name != 'pull_request' && steps.cpr.outputs.pull-request-number != ''
114+
continue-on-error: true
116115
run: gh pr merge --squash --auto ${{ steps.cpr.outputs.pull-request-number }}
117116
env:
118117
GH_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)