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 6ea2094da252 [SPARK-46811][FOLLOWUP] Increase check_run response
result from 30 to 100
6ea2094da252 is described below
commit 6ea2094da252ce96d875696dbd68c4d1bc673dc4
Author: Kent Yao <[email protected]>
AuthorDate: Wed Jan 24 14:15:20 2024 +0900
[SPARK-46811][FOLLOWUP] Increase check_run response result from 30 to 100
### What changes were proposed in this pull request?
This PR increases check_run response results from 30 to 100 to prevent `Run
/ Check changes` from missing in the response.
### Why are the changes needed?
Although the type error is fixed, we still see retry failures when calling
the check_run API
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
Use
```
curl -L
https://api.github.com/repos/yaooqinn/spark/commits/SPARK-46822/check-runs?per_page=xxx
```
to test
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #44862 from yaooqinn/SPARK-46811-F.
Authored-by: Kent Yao <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/notify_test_workflow.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/notify_test_workflow.yml
b/.github/workflows/notify_test_workflow.yml
index e99bbbfc2dc1..8aebf2b437e9 100644
--- a/.github/workflows/notify_test_workflow.yml
+++ b/.github/workflows/notify_test_workflow.yml
@@ -41,7 +41,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const endpoint = 'GET
/repos/:owner/:repo/actions/workflows/:id/runs?&branch=:branch'
- const check_run_endpoint = 'GET
/repos/:owner/:repo/commits/:ref/check-runs'
+ const check_run_endpoint = 'GET
/repos/:owner/:repo/commits/:ref/check-runs?per_page=100'
// TODO: Should use pull_request.user and
pull_request.user.repos_url?
// If a different person creates a commit to another forked repo,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]