mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 22:23:50 +03:00
[CI] run renovate daily instead of every 30 minutes
It was necessary in the debug period to help with a faster debug loop. Now that it works reliably, there is no need for renovate updates more than once a day. It will still possible to force a run, should it be necessary, by re-running the last scheduled job.
This commit is contained in:
parent
0761207cc2
commit
ae5e0c0ff6
1 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
#
|
||||||
|
# The 2am run will rebase what needs rebasing & trigger the CI
|
||||||
|
# The 4am run will merge one of them
|
||||||
|
#
|
||||||
|
# These times are chosen to minimize the likelyhood that another PR
|
||||||
|
# is merged at the same time. This would not be necessary if automerge
|
||||||
|
# worked but as of 30 March 2024 it does not.
|
||||||
|
#
|
||||||
name: renovate
|
name: renovate
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -5,7 +13,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'renovate/**' # self-test updates
|
- 'renovate/**' # self-test updates
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '*/30 * * * *'
|
- cron: '0 2,4 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}
|
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}
|
||||||
|
|
Loading…
Reference in a new issue