1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Update renovate configs

This commit is contained in:
Michael Kriese 2024-03-25 12:56:20 +01:00
parent 7288fb5dff
commit 102531cba1
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
2 changed files with 10 additions and 14 deletions

View file

@ -20,7 +20,7 @@ jobs:
image: 'ghcr.io/visualon/renovate:37.269.3@sha256:4fb1684ec9e10592b6c4726906d353f88097fbb584748150043949a5aa5ca085'
steps:
- uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
- uses: https://code.forgejo.org/actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
.tmp/cache/renovate/repository
@ -46,7 +46,7 @@ jobs:
- name: Save renovate repo cache
if: always() && env.RENOVATE_DRY_RUN == 'true'
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: https://code.forgejo.org/actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
.tmp/cache/renovate/repository

View file

@ -3,6 +3,7 @@
"extends": ["config:best-practices", ":approveMajorUpdates"],
"ignorePresets": [":semanticPrefixFixDepsChoreOthers"],
"semanticCommits": "disabled",
"postUpdateOptions": ["gomodUpdateImportPaths", "npmDedupe"],
"packageRules": [
{
"description": "Require approval for go and python minor version",
@ -22,25 +23,20 @@
"matchDatasources": ["docker"],
"matchDepNames": ["ghcr.io/visualon/renovate"],
"extends": ["schedule:daily"]
},
{
"description": "Disable actions/cascading-pr for now <https://github.com/renovatebot/renovate/issues/28120>",
"matchDepNames": ["actions/cascading-pr"],
"matchManagers": ["github-actions"],
"enabled": false
}
],
"customManagers": [
{
"description": "Update docker images in forgejo workflows",
"customType": "regex",
"fileMatch": ["^.forgejo/workflows/.+\\.yml$"],
"matchStrings": [
"\\s+image:\\s+['\"]?(?<depName>.+?):(?<currentValue>.+?)['\"]?\\s"
],
"datasourceTemplate": "docker"
},
{
"description": "Update go-version in forgejo workflows",
"customType": "regex",
"fileMatch": ["^.forgejo/workflows/.+\\.yml$"],
"matchStrings": [
"\\s+go-version: ['\"]?(?<currentValue>.+?)['\"]?\\s"
],
"matchStrings": ["\\s+go-version: ['\"]?(?<currentValue>.+?)['\"]?\\s"],
"depNameTemplate": "go",
"datasourceTemplate": "golang-version",
"versioningTemplate": "go-mod-directive"