Merge pull request 'Run Renovate more often' (#3108) from viceice/forgejo:chore/renovate-settings into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3108 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
commit
b7303cd3b5
2 changed files with 8 additions and 11 deletions
|
@ -1,10 +1,7 @@
|
||||||
#
|
#
|
||||||
# The 2am run will rebase what needs rebasing & trigger the CI
|
# Runs every 2 hours, but Renovate is limited to create new PR before 4am.
|
||||||
# The 4am run will merge one of them
|
# See renovate.json for more settings.
|
||||||
#
|
# Automerge is enabled for Renovate PR's but need to be approved before.
|
||||||
# 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
|
||||||
|
|
||||||
|
@ -13,7 +10,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'renovate/**' # self-test updates
|
- 'renovate/**' # self-test updates
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2,4 * * *'
|
- cron: '0 0/2 * * *'
|
||||||
|
|
||||||
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' || '' }}
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
"config:best-practices",
|
"config:best-practices",
|
||||||
":approveMajorUpdates",
|
":approveMajorUpdates",
|
||||||
"group:postcss",
|
"group:postcss",
|
||||||
"group:linters"
|
"group:linters",
|
||||||
|
"schedule:daily",
|
||||||
|
"schedule:automergeDaily"
|
||||||
],
|
],
|
||||||
"ignorePresets": [
|
"ignorePresets": [
|
||||||
":semanticPrefixFixDepsChoreOthers",
|
":semanticPrefixFixDepsChoreOthers",
|
||||||
|
@ -13,7 +15,6 @@
|
||||||
],
|
],
|
||||||
"semanticCommits": "disabled",
|
"semanticCommits": "disabled",
|
||||||
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"],
|
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths", "npmDedupe"],
|
||||||
"platformAutomerge": false,
|
|
||||||
"prConcurrentLimit": 5,
|
"prConcurrentLimit": 5,
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
|
@ -40,10 +41,9 @@
|
||||||
"automerge": true
|
"automerge": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Update renovate only daily with higher prio to come through rate limit",
|
"description": "Update renovate with higher prio to come through rate limit",
|
||||||
"matchDatasources": ["docker"],
|
"matchDatasources": ["docker"],
|
||||||
"matchDepNames": ["ghcr.io/visualon/renovate"],
|
"matchDepNames": ["ghcr.io/visualon/renovate"],
|
||||||
"extends": ["schedule:daily"],
|
|
||||||
"prPriority": 10
|
"prPriority": 10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue