Debugging.
Testing / prettier (push) Failing after 2m26s
Testing / unit-test (20.x) (push) Has been cancelled
Testing / e2e-test (20.x) (push) Has been cancelled

This commit is contained in:
2026-01-01 15:58:59 -05:00
parent 7500392653
commit c3861fa812
2 changed files with 16 additions and 2 deletions
+8 -1
View File
@@ -87850,7 +87850,14 @@ var GITHUB_TOKEN = import_core22.default.getInput("GITHUB_TOKEN");
var DRY_RUN = import_core22.default.getInput("DRY_RUN") === "true";
var ocPrefix = "[OpenCommit]";
var PLATFORM = (process.env.GIT_PLATFORM || "github").toLowerCase();
var octokit = import_github.default.getOctokit(GITHUB_TOKEN);
var octokit = import_github.default.getOctokit(GITHUB_TOKEN, {
log: {
debug: (message) => console.log("[octokit debug]", message),
info: (message) => console.log("[octokit info]", message),
warn: (message) => console.warn("[octokit warn]", message),
error: (message) => console.error("[octokit error]", message)
}
});
var context = import_github.default.context;
var owner = context.repo.owner;
var repo = context.repo.repo;
+8 -1
View File
@@ -19,7 +19,14 @@ const ocPrefix = '[OpenCommit]'; // Commit prefix to skip
// Platforms: github | gitea | forgejo (via GIT_PLATFORM env)
const PLATFORM = (process.env.GIT_PLATFORM || 'github').toLowerCase();
const octokit = github.getOctokit(GITHUB_TOKEN);
const octokit = github.getOctokit(GITHUB_TOKEN, {
log: {
debug: (message) => console.log('[octokit debug]', message),
info: (message) => console.log('[octokit info]', message),
warn: (message) => console.warn('[octokit warn]', message),
error: (message) => console.error('[octokit error]', message),
}
});
const context = github.context;
const owner = context.repo.owner;
const repo = context.repo.repo;