This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch HUDI-6163-move-size-labeling
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/HUDI-6163-move-size-labeling 
by this push:
     new cf96fe894ca Try last 1 day of PRs
cf96fe894ca is described below

commit cf96fe894ca0d99bac6d807cbef47ee1b39ff8f1
Author: Y Ethan Guo <[email protected]>
AuthorDate: Mon Feb 26 11:18:15 2024 -0800

    Try last 1 day of PRs
---
 .github/workflows/scheduled_workflow.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/scheduled_workflow.yml 
b/.github/workflows/scheduled_workflow.yml
index e8a3c7a26c4..f7d4ac41891 100644
--- a/.github/workflows/scheduled_workflow.yml
+++ b/.github/workflows/scheduled_workflow.yml
@@ -47,7 +47,7 @@ jobs:
           github-token: ${{secrets.GITHUB_TOKEN}}
           script: |
             // Cron schedule may not be reliable so giving buffer time to 
avoid missing recent PRs
-            const since = new Date(new Date().getTime() - (900 * 
1000)).toISOString();
+            const since = new Date(new Date().getTime() - (24 * 60 * 60 * 
1000)).toISOString();
             const query = `repo:${context.repo.owner}/${context.repo.repo} 
type:pr state:open updated:>=${since}`;
             const openPrs = await 
github.paginate(github.rest.search.issuesAndPullRequests, {
               q: query,

Reply via email to