Compare commits
2 commits
7454364fb6
...
cb03cdfebd
Author | SHA1 | Date | |
---|---|---|---|
cb03cdfebd | |||
31d17533db |
3 changed files with 47 additions and 34 deletions
|
@ -1,29 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": [
|
|
||||||
"config:base",
|
|
||||||
"config:recommended"
|
|
||||||
],
|
|
||||||
"regexManagers": [
|
|
||||||
{
|
|
||||||
"datasourceTemplate": "docker",
|
|
||||||
"fileMatch": [
|
|
||||||
"(^|/)Chart\\.yaml$"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": [
|
|
||||||
"(^|/)mautrix-synapse/Chart\\.yaml$"
|
|
||||||
],
|
|
||||||
"matchStrings": [
|
|
||||||
"appVersion:\\s+\"(?<currentValue>v[a-z0-9.-]+)\""
|
|
||||||
],
|
|
||||||
"depNameTemplate": "dock.mau.dev/mautrix/signal",
|
|
||||||
"datasourceTemplate": "docker",
|
|
||||||
"versioningTemplate": "docker"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -22,11 +22,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Ensures full history for accurate diffing
|
fetch-depth: 0 # Ensures full history for accurate diffing
|
||||||
|
|
||||||
- name: Set up Git
|
|
||||||
run: |
|
|
||||||
git config --global user.name "Per[bot]"
|
|
||||||
git config --global user.email "noreply@252.no"
|
|
||||||
|
|
||||||
- name: Identify Merge Commit and List Changed Charts
|
- name: Identify Merge Commit and List Changed Charts
|
||||||
id: changed-charts
|
id: changed-charts
|
||||||
run: |
|
run: |
|
||||||
|
|
47
renovate.json5
Normal file
47
renovate.json5
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base",
|
||||||
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"regexManagers": [
|
||||||
|
{
|
||||||
|
// Match and update Docker image and appVersion in Chart.yaml
|
||||||
|
"datasourceTemplate": "docker",
|
||||||
|
"fileMatch": [
|
||||||
|
"(^|/)Chart\\.yaml$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// Match and bump chart version when appVersion changes
|
||||||
|
"fileMatch": [
|
||||||
|
"(^|/)Chart\\.yaml$"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)",
|
||||||
|
"version:\\s*[\"']?(?<currentVersion>[\\w+\\.\\-]*)"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "regex",
|
||||||
|
"depNameTemplate": "chart-version-update",
|
||||||
|
"versioningTemplate": "semver",
|
||||||
|
"updateStrategy": "bump"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
// Group chart version and appVersion updates together
|
||||||
|
"matchPackageNames": ["chart-version-update"],
|
||||||
|
"groupName": "Chart and AppVersion Updates",
|
||||||
|
"bumpVersion": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"helmv3": {
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
|
"rangeStrategy": "bump",
|
||||||
|
"timezone": "UTC",
|
||||||
|
"schedule": ["before 5am on Monday"]
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue