mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-07-07 09:15:59 +02:00
Migrate config renovate.json
This commit is contained in:
parent
9d83299526
commit
5dd80b927b
1 changed files with 15 additions and 5 deletions
|
@ -1,12 +1,18 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>actions/renovate-config"],
|
"extends": [
|
||||||
|
"local>actions/renovate-config"
|
||||||
|
],
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "update runner in RUNNER_VERSION",
|
"description": "update runner in RUNNER_VERSION",
|
||||||
"fileMatch": ["^RUNNER_VERSION$"],
|
"managerFilePatterns": [
|
||||||
"matchStrings": ["(?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
|
"/^RUNNER_VERSION$/"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"(?<currentValue>v\\d+\\.\\d+\\.\\d+)"
|
||||||
|
],
|
||||||
"datasourceTemplate": "gitea-tags",
|
"datasourceTemplate": "gitea-tags",
|
||||||
"depNameTemplate": "forgejo/runner",
|
"depNameTemplate": "forgejo/runner",
|
||||||
"versioningTemplate": "semver",
|
"versioningTemplate": "semver",
|
||||||
|
@ -15,7 +21,9 @@
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "update runner in README.md",
|
"description": "update runner in README.md",
|
||||||
"fileMatch": ["^README.md$"],
|
"managerFilePatterns": [
|
||||||
|
"/^README.md$/"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\| runner-version \\| .+? \\| (?<currentValue>v\\d+\\.\\d+\\.\\d+) \\|"
|
"\\| runner-version \\| .+? \\| (?<currentValue>v\\d+\\.\\d+\\.\\d+) \\|"
|
||||||
],
|
],
|
||||||
|
@ -27,7 +35,9 @@
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "update runner in action.yml",
|
"description": "update runner in action.yml",
|
||||||
"fileMatch": ["^action.yml$"],
|
"managerFilePatterns": [
|
||||||
|
"/^action.yml$/"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+runner-version:\\s+description: .+?\\s+default: '(?<currentValue>v\\d+\\.\\d+\\.\\d+)'\\s"
|
"\\s+runner-version:\\s+description: .+?\\s+default: '(?<currentValue>v\\d+\\.\\d+\\.\\d+)'\\s"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue