Fix people who use gh instead of env vars (#41418)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node --redirect-warnings=/dev/null
|
||||
|
||||
const { execFileSync } = require("child_process");
|
||||
const { GITHUB_ACCESS_TOKEN } = process.env;
|
||||
let { GITHUB_ACCESS_TOKEN } = process.env;
|
||||
const GITHUB_URL = "https://github.com";
|
||||
const SKIPPABLE_NOTE_REGEX = /^\s*-?\s*n\/?a\s*/ims;
|
||||
const PULL_REQUEST_WEB_URL = "https://github.com/zed-industries/zed/pull";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// stable that didn't make it into a release, as they were cherry picked
|
||||
|
||||
const { execFileSync } = require("child_process");
|
||||
const { GITHUB_ACCESS_TOKEN } = process.env;
|
||||
let { GITHUB_ACCESS_TOKEN } = process.env;
|
||||
const GITHUB_TAGS_API_URL = "https://api.github.com/repos/zed-industries/zed/releases/tags";
|
||||
const DIVIDER = "-".repeat(80);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user