fix(github): repair GitHub App registration and installation auth (#2511)

Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Nazar
2026-08-12 13:13:05 +03:00
committed by GitHub
parent a63cbf3d85
commit f82d841955
23 changed files with 259 additions and 95 deletions
@@ -8,6 +8,7 @@ import {
validateImportSecrets,
validateRegistrationBasics,
} from "./github-app-onboarding-model";
import { githubAppEvents } from "./github-app-policy-dialog";
describe("GitHub App onboarding model", () => {
it("requires a public HTTPS origin", () => {
@@ -64,4 +65,8 @@ describe("GitHub App onboarding model", () => {
submit.mockRestore();
form?.remove();
});
it("lists only configurable GitHub App webhook subscriptions", () => {
expect(githubAppEvents).toEqual(["push", "check_run"]);
});
});