df3ec6b815
* update hookdeck source to github-dev for local development Co-authored-by: Cursor <cursoragent@cursor.com> * use GITHUB_APP_SLUG env var for install URLs instead of hardcoded slug Co-authored-by: Cursor <cursoragent@cursor.com> * replace GITHUB_TOKEN alias hack with ensureGitHubToken in vitest setup Co-authored-by: Cursor <cursoragent@cursor.com> * add neon CLI reference wiki page Co-authored-by: Cursor <cursoragent@cursor.com> * use select_target for GitHub App install URL to show account picker Co-authored-by: Cursor <cursoragent@cursor.com> * scope repo listing to installation access and invalidate paged cache when repository_selection is "selected", use the REST installation repos list instead of the unscoped GraphQL repositoryOwner query. also filter active repos against the allowed set. add getInstallationReposPage cache invalidation alongside existing getInstallationRepos invalidation in webhooks and the GitHub App callback. Co-authored-by: Cursor <cursoragent@cursor.com> * clear getUserInstallations cache on repo add/remove webhooks repository_selection changes (e.g. "all" -> "selected") trigger repositories_added/removed events, so the installation metadata cache must be refreshed to pick up the new selection mode. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
213 B
TypeScript
8 lines
213 B
TypeScript
import { resolve } from "node:path";
|
|
import { config } from "dotenv";
|
|
import { ensureGitHubToken } from "./utils/github.ts";
|
|
|
|
config({ path: resolve(import.meta.dirname, "../.env") });
|
|
|
|
await ensureGitHubToken();
|