Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 1a7dc45

Browse files
committed
Improve renovate config
1 parent 66142e2 commit 1a7dc45

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/renovate.json5

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"branchPrefix": "renovate/",
4-
"labels": ["renovate", "renovate/{{depName}}", "renovate/{{updateType}}"],
4+
"labels": ["renovate", "renovate/{{replace '.*/' '' depName}}", "renovate/{{updateType}}"],
55
"packageRules": [
66
{
77
"matchUpdateTypes": ["patch"],
@@ -35,12 +35,13 @@
3535
"regexManagers": [
3636
{
3737
"fileMatch": [
38-
"^\\.github/workflows/build\\.yml$",
38+
"^\\.github/workflows/.*\\.yml$",
3939
"^ansible/win-simple\\.yml$",
4040
],
4141
"matchStrings": [
4242
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.+?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*(=|:\\s+)\"?(?<currentValue>.+?)\"?\\s",
4343
],
44+
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}",
4445
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
4546
},
4647
],

.github/workflows/linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
##########################
3838
- name: Checkout Code
3939
uses: actions/checkout@v3
40+
with:
41+
fetch-depth: 0
4042

4143
################################
4244
# Run Linter against code base #

.github/workflows/markdown-mdspell.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Install Node.js 16
18+
- name: Install Node.js
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: 16.x
21+
# renovate: datasource=github-tags depName=nodejs/node versioning=node
22+
node-version: 16
2223

2324
- name: Install markdown-spellcheck
2425
run: npm install -g markdown-spellcheck

.github/workflows/mega-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
id: ml
2525
uses: megalinter/megalinter@v5
2626
env:
27+
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects
2728
DISABLE_LINTERS: COPYPASTE_JSCPD,MARKDOWN_MARKDOWN_LINK_CHECK,SPELL_CSPELL,YAML_V8R
2829
FILTER_REGEX_EXCLUDE: '(.*\.ps1)'
2930
FORMATTERS_DISABLE_ERRORS: false

0 commit comments

Comments
 (0)