Skip to content

Commit

Permalink
Improves Renovate setup (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubiratansoares authored May 20, 2024
1 parent bd8ac42 commit 81e6a6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
22 changes: 16 additions & 6 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":prHourlyLimit2",
"group:monorepos",
"workarounds:all"
"config:recommended",
"docker:pinDigests",
"helpers:pinGitHubActionDigests",
":pinDevDependencies"
],
"osvVulnerabilityAlerts": true,
"dependencyDashboard": true,
Expand All @@ -13,7 +14,16 @@
"automerge": false
}
],
"enabledManagers": ["github-actions"],
"labels": ["dependencies", "github-actions"],
"github-actions": {}
"customManagers": [
{
"customType": "regex",
"depNameTemplate": "shfmt",
"packageNameTemplate": "rmvdan/shfmt",
"datasourceTemplate": "docker",
"fileMatch": ["(^|/)bash-linter\\.sh$"],
"matchStrings": [
"readonly\\s*shmft=\"mvdan/shfmt:v(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)-alpine\""
]
}
]
}
2 changes: 1 addition & 1 deletion quality/bash/bash-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
set -eo pipefail

# https://hub.docker.com/r/mvdan/shfmt/tags
readonly shmft="mvdan/shfmt:v3.8.0-alpine"
readonly shmft="mvdan/shfmt:v3.7.0-alpine"

# https://hub.docker.com/r/koalaman/shellcheck-alpine/tags
readonly shellcheck="koalaman/shellcheck-alpine:v0.10.0"
Expand Down

0 comments on commit 81e6a6d

Please sign in to comment.