"View job run" link in Claude's comment points to an unrelated, older run (#18)

Co-authored-by: Dennis <dennis@bos.local>
This commit is contained in:
husker
2026-06-02 22:55:09 +02:00
committed by GitHub
parent 92631f4d12
commit dfdfdd91fe
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ async function run() {
const client = createClient(githubToken);
const serverUrl = GITEA_SERVER_URL;
const jobUrl = `${serverUrl}/${owner}/${repo}/actions/runs/${process.env.GITHUB_RUN_NUMBER}`;
const jobUrl = `${serverUrl}/${owner}/${repo}/actions/runs/${process.env.GITHUB_RUN_ID}`;
let comment;
let isPRReviewComment = false;

View File

@@ -55,7 +55,7 @@ export function parseGitHubContext(): ParsedGitHubContext {
}
const commonFields = {
runId: process.env.GITHUB_RUN_NUMBER!,
runId: process.env.GITHUB_RUN_ID!,
eventName: context.eventName,
eventAction: context.payload.action,
repository: {