Merge pull request #797 from fabro-sh/github-app-install-error-wording

fix(github): name both causes of an installation lookup 404
This commit is contained in:
Bryan Helmkamp 2026-08-25 09:09:28 -04:00 committed by GitHub
commit 1465082447
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -617,8 +617,8 @@ async fn mint_installation_token_with_jwt(
str::to_string,
);
bail!(
"GitHub App is not installed for {owner}. \
Install it at {install_url}"
"GitHub App is not installed for {owner}, or its installation does not \
include {owner}/{primary_repo}. Check repository access at {install_url}"
);
}
InstallationLookup::Failed(403) => {