Skip to content

docs: add controller GitHub App setup guide - #55

Merged
Nickfost merged 1 commit into
mainfrom
docs/github-app-setup
Jul 28, 2026
Merged

docs: add controller GitHub App setup guide#55
Nickfost merged 1 commit into
mainfrom
docs/github-app-setup

Conversation

@Nickfost

Copy link
Copy Markdown
Member

Summary

Adds docs/GITHUB-APP-SETUP.md: a from-scratch guide for creating the controller's GitHub App identity — why an app instead of a PAT, minimum permissions (contents: read on the config repo, org self-hosted runners write), key handling, installation scoping, host.env wiring, verification, troubleshooting (including the pending-permission-approval 403 case), and rotation.

Why

The required app permissions were previously stated only as a one-line prerequisite in DESIRED-STATE.md. New operators had no walkthrough for creating the app, and the installation-approval step is an easy-to-miss failure mode (observed in practice: permission saved on the app but not accepted on the installation → 403 on fetch).

Testing

Docs-only. Links verified against existing docs (SECRETS.md, DESIRED-STATE.md); cross-links added from docs/README.md and the DESIRED-STATE prerequisite list.

@Nickfost
Nickfost force-pushed the docs/github-app-setup branch from a472335 to e615808 Compare July 28, 2026 01:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a47233583a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/GITHUB-APP-SETUP.md
Comment thread docs/GITHUB-APP-SETUP.md
Comment thread docs/GITHUB-APP-SETUP.md
Comment thread docs/GITHUB-APP-SETUP.md
Comment thread docs/GITHUB-APP-SETUP.md
@Nickfost
Nickfost merged commit 0ce3c91 into main Jul 28, 2026
1 check passed
@Nickfost
Nickfost deleted the docs/github-app-setup branch July 28, 2026 03:35
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