Revert "wprkflows/bot: increase frequency to every 5 minutes"
This partially reverts commit 1197fe48da.
GitHub just doesn't schedule these narrow intervals. 10 minutes is
alright in practice.
This commit is contained in:
4
.github/workflows/bot.yml
vendored
4
.github/workflows/bot.yml
vendored
@@ -7,9 +7,9 @@ name: Bot
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# Run every 5m
|
# Run every 10m
|
||||||
# i.e., at each of the listed minutes, every hour
|
# i.e., at each of the listed minutes, every hour
|
||||||
- cron: '02,07,12,17,22,27,32,37,42,47,52,57 * * * *'
|
- cron: '05,15,25,35,45,55 * * * *'
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
headBranch:
|
headBranch:
|
||||||
|
|||||||
@@ -587,7 +587,7 @@ module.exports = async ({ github, context, core, dry }) => {
|
|||||||
state: 'open',
|
state: 'open',
|
||||||
sort: 'created',
|
sort: 'created',
|
||||||
direction: 'asc',
|
direction: 'asc',
|
||||||
per_page: 50,
|
per_page: 100,
|
||||||
after: cursor,
|
after: cursor,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user