mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +00:00
fix(refactor): use named imports (#879)
Allows better tree shaking while bundling.
This commit is contained in:
parent
5343762d53
commit
4d91b7f286
7 changed files with 77 additions and 36 deletions
38
.github/renovate.json
vendored
38
.github/renovate.json
vendored
|
|
@ -28,6 +28,28 @@
|
|||
"description": "Use ci semantic type for some deps",
|
||||
"matchFileNames": [".github/workflows/**"],
|
||||
"semanticCommitType": "ci"
|
||||
},
|
||||
{
|
||||
"description": "Don't require approval for renovate",
|
||||
"matchDepNames": [
|
||||
"ghcr.io/renovatebot/renovate",
|
||||
"renovatebot/github-action"
|
||||
],
|
||||
"dependencyDashboardApproval": false
|
||||
},
|
||||
{
|
||||
"description": "Don't pin renovate updates",
|
||||
"matchDepNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"matchFileNames": ["action.yml", "src/docker.ts"],
|
||||
"pinDigests": false
|
||||
},
|
||||
{
|
||||
"description": "Use feat! semantic type for renovate major",
|
||||
"matchDepNames": ["ghcr.io/renovatebot/renovate"],
|
||||
"matchFileNames": ["action.yml", "src/docker.ts"],
|
||||
"matchUpdateTypes": ["major"],
|
||||
"commitMessagePrefix": "feat(deps)!:",
|
||||
"additionalBranchPrefix": "renovate-major"
|
||||
}
|
||||
],
|
||||
"customManagers": [
|
||||
|
|
@ -46,6 +68,22 @@
|
|||
"matchStrings": ["renovate-version: (?<currentValue>[^\\s]+)"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
},
|
||||
{
|
||||
"description": "Update renovate version in action.yml",
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^action\\.yml$"],
|
||||
"matchStrings": ["default: '(?<currentValue>[^\\s]+)' # renovate"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
},
|
||||
{
|
||||
"description": "Update renovate version in src/docker.ts",
|
||||
"customType": "regex",
|
||||
"fileMatch": ["^src/docker\\.ts$"],
|
||||
"matchStrings": ["version = '(?<currentValue>[^\\s]+)'; // renovate"],
|
||||
"depNameTemplate": "ghcr.io/renovatebot/renovate",
|
||||
"datasourceTemplate": "docker"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue