This commit is contained in:
Colin McDonnell
2025-12-15 23:22:30 -08:00
parent 333ad29965
commit b833cdd4af
4 changed files with 9 additions and 5 deletions
+3 -3
View File
@@ -83327,7 +83327,7 @@ function query({
// package.json
var package_default = {
name: "@pullfrog/action",
version: "0.0.140",
version: "0.0.141",
type: "module",
files: [
"index.js",
@@ -123871,10 +123871,10 @@ function setupGit(ctx) {
} catch {
log.debug("No existing authentication headers to remove");
}
process.env.GH_TOKEN = githubInstallationToken2;
$("git", ["config", "--local", "credential.helper", ""], { cwd: repoDir });
$("git", ["config", "--local", "--add", "credential.helper", "!gh auth git-credential"], {
cwd: repoDir,
env: { GH_TOKEN: githubInstallationToken2 }
cwd: repoDir
});
log.info("\u2713 Configured gh as credential helper");
if (payload.event.is_pr !== true || !payload.event.issue_number) {