Skip to content

feat: add docs to secret distribution anchors#85

Merged
JacobPEvans merged 1 commit into
mainfrom
feat/add-docs-to-secret-distribution
May 24, 2026
Merged

feat: add docs to secret distribution anchors#85
JacobPEvans merged 1 commit into
mainfrom
feat/add-docs-to-secret-distribution

Conversation

@JacobPEvans
Copy link
Copy Markdown
Owner

Summary

  • Adds docs (Mintlify site for docs.jacobpevans.com) to both _github_app_repos and _all_repos anchors in secrets-config.yml.
  • Unblocks wiring the standard ai-workflows callers (issue-triage, issue-resolver, ci-fix, final-pr-review, project-router, post-merge-docs-review) in JacobPEvans/docs.

Why now

The docs repo currently has zero secrets and is not on either anchor list, so any ai-workflows caller wired today would fail at the first claude-code-action step with "secret not found." This is the unblocking change.

After merge, sync-secrets.yml runs on push to main and auto-distributes:

  • OPENROUTER_API_KEY + OPENROUTER_BASE_URL (via _all_repos)
  • GH_APP_CLAUDE_BOT_ID variable + GH_APP_CLAUDE_BOT_PRIVATE_KEY secret (via _github_app_repos)
  • All other broadly-distributed secrets

Required manual step before sync will succeed

Per TROUBLESHOOTING.md, the fine-grained PAT GH_PAT_SECRETS_SYNC_ACTION needs JacobPEvans/docs added to its repository access list (GitHub Settings → Developer settings → Fine-grained tokens). The sync workflow fast-fails with the exact repo name if access is missing.

Test plan

  • CI passes
  • PAT updated to include JacobPEvans/docs
  • After merge: gh run watch --repo JacobPEvans/secrets-sync shows the sync workflow completing
  • gh secret list --repo JacobPEvans/docs returns ~10 rows including OPENROUTER_API_KEY
  • gh variable list --repo JacobPEvans/docs returns at least GH_APP_CLAUDE_BOT_ID

Assisted-by: Claude noreply@anthropic.com

Adds the docs repo (Mintlify site for docs.jacobpevans.com) to both
_github_app_repos and _all_repos so it receives:

- OPENROUTER_API_KEY (via _all_repos)
- OPENROUTER_BASE_URL (via _all_repos)
- GH_APP_CLAUDE_BOT_ID variable (via _github_app_repos)
- GH_APP_CLAUDE_BOT_PRIVATE_KEY (via _github_app_repos)
- All other broadly-distributed secrets

This unblocks wiring the standard ai-workflows callers (issue-triage,
issue-resolver, ci-fix, final-pr-review, project-router,
post-merge-docs-review) in the docs repo. Without these secrets, every
caller fails at the first claude-code-action step.

After merge, sync-secrets.yml runs on push and distributes
automatically. The fine-grained PAT must also include JacobPEvans/docs
in its repository access list (manual GitHub Settings step) or the
sync workflow will fast-fail with the unreachable repo listed.

Assisted-by: Claude <noreply@anthropic.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the "docs" repository to the "_github_app_repos" and "_all_repos" lists within the secrets-config.yml configuration file. I have no feedback to provide as there are no review comments to evaluate.

@JacobPEvans JacobPEvans merged commit b71e5a2 into main May 24, 2026
2 checks passed
@JacobPEvans JacobPEvans deleted the feat/add-docs-to-secret-distribution branch May 24, 2026 20:21
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.

1 participant