Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: renovate #752

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/renovate.json5 → .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"config:js-app",
":automergeAll",
":automergePr",
// ":disablePrControls",
":disablePrControls",
":labels(dependencies, semver:none)",
":maintainLockFilesWeekly",
":pathSemanticCommitType(.github/workflows/**, ci)",
":prHourlyLimitNone",
":rebaseStalePrs",
":semanticCommits",
// "customManagers:githubActionsVersions",
"customManagers:githubActionsVersions",
"security:openssf-scorecard"
],
"automergeStrategy": "squash",
Expand All @@ -32,6 +32,16 @@
"dependencies",
"semver:patch"
]
},
{
"matchManagers": [
"regex"
],
"matchFileNames": [
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
"(^|/)action\\.ya?ml$"
],
"pinDigests": false
}
],
"customManagers": [
Expand All @@ -45,16 +55,6 @@
],
"depNameTemplate": "node",
"datasourceTemplate": "node-version"
},
{
"customType": "regex",
"fileMatch": [
"(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$",
"(^|/)action\\.ya?ml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: pinDigests=(?<pinDigests>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
]
}
4 changes: 2 additions & 2 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ env:
# This can be manually changed to bust the cache if neccessary.
cache_key: renovate-cache
# tool versions
# renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate pinDigests=false
# renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
RENOVATE_VERSION: 37.372.1

jobs:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

- uses: renovatebot/github-action@063e0c946b9c1af35ef3450efc44114925d6e8e6 # v40.1.11
with:
configurationFile: .github/renovate.json5
configurationFile: .github/renovate.json
token: ${{ steps.generate_token.outputs.token }}
renovate-version: ${{ env.RENOVATE_VERSION }}
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|FORCE_COLOR)$"
Expand Down
Loading