Skip to content

Commit 56a9510

Browse files
Update scripts/verify-github-oauth.js
Co-authored-by: Copilot <[email protected]>
1 parent 91fdcf9 commit 56a9510

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/verify-github-oauth.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ async function verifyConfiguration() {
206206
const org = process.env.GITHUB_ORG;
207207
info(`Organization configured: ${org}`);
208208
info(`In production, only members of ${org} can sign in`);
209-
info('(plus hardcoded admin: jeromehardaway)');
209+
if (process.env.GITHUB_ADMIN) {
210+
info(`(plus configured admin: ${process.env.GITHUB_ADMIN})`);
211+
} else {
212+
warning('No GITHUB_ADMIN environment variable set; no admin override configured.');
213+
}
210214

211215
console.log('');
212216
}

0 commit comments

Comments
 (0)