From acf49acb4e486964e379a4b1c72402e0dca2793d Mon Sep 17 00:00:00 2001 From: Michael-Kruggel Date: Tue, 13 Feb 2024 19:49:21 +0000 Subject: [PATCH] fix: possible commitlint fix --- .github/workflows/commitlint.yaml | 4 +++- renovate.json | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 2449503..762f227 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -22,7 +22,9 @@ jobs: uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 - name: Install commitlint - run: npm install --save-dev @commitlint/{config-conventional,cli} + run: | + npm install --save-dev @commitlint/config-conventional@18.6.0 + npm install --save-dev @commitlint/cli@18.6.0 - name: Lint PR title run: echo "${{ github.event.pull_request.title }}" | npx commitlint diff --git a/renovate.json b/renovate.json index 47e46ff..f3f0c34 100644 --- a/renovate.json +++ b/renovate.json @@ -104,6 +104,13 @@ "# renovate: bb-chart\\n .*- name: .*?\\n *url: ['\"]{0,1}(?https:\\/\\/.*?)\\/(?.*?)\\.git['\"]{0,1}\\n *version: ['\"]{0,1}(?.*?)['\"]{0,1}\\n" ], "datasourceTemplate": "gitlab-tags" + }, + { + "fileMatch": ["^\\.github/workflows/commitlint\\.yaml$"], + "matchStrings": [ + "npm install --save-dev (?@?.*?)@(?.+)" + ], + "datasourceTemplate": "npm" } ], "packageRules": [