This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new c3a0fce [SPARK-37879][INFRA][FOLLOWUP] Change actions to check-runs
in update_build_status.yml
c3a0fce is described below
commit c3a0fce0e4bea6ba7349355bf549a48a0816d4ef
Author: Yikun Jiang <[email protected]>
AuthorDate: Thu Jan 13 18:28:57 2022 +0900
[SPARK-37879][INFRA][FOLLOWUP] Change actions to check-runs in
update_build_status.yml
### What changes were proposed in this pull request?
Change actions to check-runs in update_build_status.yml.
### Why are the changes needed?
https://github.com/apache/spark/pull/35179#issuecomment-1011881076
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Closes #35189 from Yikun/patch-11.
Authored-by: Yikun Jiang <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/update_build_status.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/update_build_status.yml
b/.github/workflows/update_build_status.yml
index 671487a..4da5f62 100644
--- a/.github/workflows/update_build_status.yml
+++ b/.github/workflows/update_build_status.yml
@@ -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
@@ -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 + ')')
@@ -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
})
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]