Skip to content

Commit

Permalink
ci: renovate (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored May 23, 2024
1 parent 9f664d4 commit ba894bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
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

0 comments on commit ba894bc

Please sign in to comment.