feat: add read-only GitHub App access alongside OAuth

This commit is contained in:
Thomas Durieux committed 2026-09-09 22:08:12 +02:00
1 parent e5c44845f0
commit a60ad6a921
49 files changed
+1754 -139

No files matched your search

@@ -1,3 +1,4 @@
import { repositoryAccessSchema } from "../repository-access.schema";
import { Schema } from "mongoose";
const AnonymizedPullRequestSchema = new Schema({
@@ -15,6 +16,7 @@ const AnonymizedPullRequestSchema = new Schema({
lastView: Date,
pageView: Number,
owner: { type: Schema.Types.ObjectId, index: true },
githubAccess: { type: repositoryAccessSchema, default: undefined },
conference: String,
source: {
pullRequestId: Number,