fix: allow GitHub App access to public repositories without installation

This commit is contained in:
Thomas Durieux committed 2026-09-13 08:42:55 +00:00
1 parent 22096a8346
commit 8efb9bd506
5 files changed
+100 -4

No files matched your search

@@ -3,6 +3,7 @@ import { Schema } from "mongoose";
export const repositoryAccessSchema = new Schema({
kind: { type: String, enum: ["oauth", "github-app"], required: true },
repositoryId: Number,
publicRead: Boolean,
installationId: Number,
revision: { type: String, required: true },
}, { _id: false });