Skip to content

Commit a2b1f89

Browse files
committed
every 10 minutes
1 parent 362be8d commit a2b1f89

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/labeler.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ name: Label pull requests
2929

3030
on:
3131
schedule:
32-
- cron: "5,20,35,50 * * * *"
32+
- cron: "7-59/10 * * * *"
3333
workflow_dispatch:
3434
inputs:
3535
backfill:
@@ -71,8 +71,8 @@ jobs:
7171
--event schedule --status success --limit 1 --json startedAt \
7272
--jq '.[0].startedAt // empty')
7373
if [ -n "$last_success" ]; then
74-
# Keep a one-hour overlap for PR updates during the previous run.
75-
since=$(date -u -d "$last_success - 1 hour" +%Y-%m-%dT%H:%M:%SZ)
74+
# Keep a short overlap for PR updates during the previous run.
75+
since=$(date -u -d "$last_success - 10 minutes" +%Y-%m-%dT%H:%M:%SZ)
7676
else
7777
since=$(date -u -d "12 hours ago" +%Y-%m-%dT%H:%M:%SZ)
7878
fi

0 commit comments

Comments
 (0)