Skip to content

Commit

Permalink
Improve renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Jun 5, 2022
1 parent 66142e2 commit 1a7dc45
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"branchPrefix": "renovate/",
"labels": ["renovate", "renovate/{{depName}}", "renovate/{{updateType}}"],
"labels": ["renovate", "renovate/{{replace '.*/' '' depName}}", "renovate/{{updateType}}"],
"packageRules": [
{
"matchUpdateTypes": ["patch"],
Expand Down Expand Up @@ -35,12 +35,13 @@
"regexManagers": [
{
"fileMatch": [
"^\\.github/workflows/build\\.yml$",
"^\\.github/workflows/.*\\.yml$",
"^ansible/win-simple\\.yml$",
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.+?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*(=|:\\s+)\"?(?<currentValue>.+?)\"?\\s",
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
},
],
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

################################
# Run Linter against code base #
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/markdown-mdspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Node.js 16
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
# renovate: datasource=github-tags depName=nodejs/node versioning=node
node-version: 16

- name: Install markdown-spellcheck
run: npm install -g markdown-spellcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
id: ml
uses: megalinter/megalinter@v5
env:
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects
DISABLE_LINTERS: COPYPASTE_JSCPD,MARKDOWN_MARKDOWN_LINK_CHECK,SPELL_CSPELL,YAML_V8R
FILTER_REGEX_EXCLUDE: '(.*\.ps1)'
FORMATTERS_DISABLE_ERRORS: false
Expand Down

0 comments on commit 1a7dc45

Please sign in to comment.