mirror of
https://github.com/markwylde/claude-code-gitea-action.git
synced 2026-06-21 14:39:03 +08:00
"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:
@@ -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;
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user