Compare commits

...

1 Commits

Author SHA1 Message Date
David Blass c18db965c3 bump version 2025-11-11 17:40:40 -05:00
3 changed files with 26 additions and 2 deletions
+11 -1
View File
@@ -40481,7 +40481,7 @@ function query({
// package.json
var package_default = {
name: "@pullfrog/action",
version: "0.0.91",
version: "0.0.92",
type: "module",
files: [
"index.js",
@@ -41057,6 +41057,16 @@ async function acquireNewToken() {
}
}
function getDefaultGitHubToken() {
if (isGitHubActionsEnvironment()) {
const githubEnvVars = Object.keys(process.env).filter((key) => key.startsWith("GITHUB_")).reduce(
(acc, key) => {
acc[key] = key === "GITHUB_TOKEN" ? "***" : process.env[key];
return acc;
},
{}
);
log.debug(`GitHub env vars: ${JSON.stringify(githubEnvVars)}`);
}
return process.env.GITHUB_TOKEN || null;
}
async function setupGitHubInstallationToken() {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@pullfrog/action",
"version": "0.0.91",
"version": "0.0.92",
"type": "module",
"files": [
"index.js",
+14
View File
@@ -255,6 +255,20 @@ async function acquireNewToken(): Promise<string | null> {
}
function getDefaultGitHubToken(): string | null {
// Debug: log all GITHUB_* env vars
if (isGitHubActionsEnvironment()) {
const githubEnvVars = Object.keys(process.env)
.filter((key) => key.startsWith("GITHUB_"))
.reduce(
(acc, key) => {
acc[key] = key === "GITHUB_TOKEN" ? "***" : process.env[key];
return acc;
},
{} as Record<string, string | undefined>
);
log.debug(`GitHub env vars: ${JSON.stringify(githubEnvVars)}`);
}
return process.env.GITHUB_TOKEN || null;
}