Skip to content

fix: drop email_addresses from the GitHub App manifest; GitHub rejects it - #15

Open
erikgoins wants to merge 1 commit into
mainfrom
fix/manifest-email-permission
Open

erikgoins wants to merge 1 commit into
mainfrom
fix/manifest-email-permission

Conversation

@erikgoins

Copy link
Copy Markdown
Contributor

Creating the GitHub App failed on GitHub: "Default permission records resource is not included in the list".

I posted manifest variants to GitHub's manifest endpoint from a signed-in browser. Nothing gets created until someone clicks Create, so the probe is safe. email_addresses (an account permission) is the key GitHub refuses. Removing it makes the manifest valid. Removing organization_projects or members instead does not.

  • Remove email_addresses from default_permissions.
  • The admin adds Email addresses: Read in the App settings after creation. The self-host guide and the feature gotchas now say so.
  • setup.test.ts fails if the manifest names an account permission. I proved it red on the old manifest.

Checks: lint, typecheck, and 404 unit tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T7sHyaEvdoSPjkLy7T1aaz

…s it

Creating the App failed on GitHub with "Default permission records resource is
not included in the list". Probing the manifest endpoint showed email_addresses
(an account permission) is the key GitHub refuses; without it the manifest is
accepted. The admin adds Email addresses: Read in the App settings after
creation, documented in the self-host guide. The setup test now fails if the
manifest names an account permission.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T7sHyaEvdoSPjkLy7T1aaz
Signed-off-by: Erik Goins <erikgoins@gmail.com>
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