chore(maintenance): make GitHub repo configurable for auto-updater and publisher (#6828)

Signed-off-by: Yelsin Sepulveda <yelsinsepulveda@gmail.com>
This commit is contained in:
Yelsin Sepulveda
2026-02-02 16:16:37 -05:00
committed by GitHub
parent 493ae789c4
commit fafda07dd0
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ interface UpdateCheckResult {
}
export class GitHubUpdater {
private readonly owner = 'block';
private readonly repo = 'goose';
private readonly owner = process.env.GITHUB_OWNER || 'block';
private readonly repo = process.env.GITHUB_REPO || 'goose';
private readonly apiUrl = `https://api.github.com/repos/${this.owner}/${this.repo}/releases/latest`;
async checkForUpdates(): Promise<UpdateCheckResult> {