diff --git a/.github/renovate.json5 b/.github/renovate.json5 index a45e834f9..867a096fa 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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"], @@ -35,12 +35,13 @@ "regexManagers": [ { "fileMatch": [ - "^\\.github/workflows/build\\.yml$", + "^\\.github/workflows/.*\\.yml$", "^ansible/win-simple\\.yml$", ], "matchStrings": [ "# renovate: datasource=(?.+?) depName=(?.+?)( versioning=(?.+?))?( extractVersion=(?.+?))?( registryUrl=(?.+?))?\\s.*(=|:\\s+)\"?(?.+?)\"?\\s", ], + "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", "extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?.+)${{/if}}", }, ], diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 1c3b948e6..6009d843e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -37,6 +37,8 @@ jobs: ########################## - name: Checkout Code uses: actions/checkout@v3 + with: + fetch-depth: 0 ################################ # Run Linter against code base # diff --git a/.github/workflows/markdown-mdspell.yml b/.github/workflows/markdown-mdspell.yml index 14d4eaf82..df61c537a 100644 --- a/.github/workflows/markdown-mdspell.yml +++ b/.github/workflows/markdown-mdspell.yml @@ -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 diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 44235fe2d..de6602ddd 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -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