Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/update_build_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
// Get the workflow run in the forked repository
let run
try {
run = await github.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}', params)
run = await github.request('GET /repos/{owner}/{repo}/check-runs/{run_id}', params)
} catch (error) {
console.error(error)
// Run not found. This can happen when the PR author removes GitHub Actions runs or
Expand All @@ -83,7 +83,7 @@ jobs:
output: cr.output,
status: run.data.status,
conclusion: run.data.conclusion,
details_url: run.data.details_url
details_url: run.data.url
})
} else {
console.log(' Run ' + cr.id + ': set status (' + run.data.status + ')')
Expand All @@ -93,7 +93,7 @@ jobs:
check_run_id: cr.id,
output: cr.output,
status: run.data.status,
details_url: run.data.details_url
details_url: run.data.url
})
}

Expand Down