From 788908097a8801af007ad9a0c37b406e1ca9e78c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 13:54:03 +0000 Subject: [PATCH 1/3] fix: bump wagoid/commitlint-github-action from 5 to 6 Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5 to 6. - [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5...v6) --- updated-dependencies: - dependency-name: wagoid/commitlint-github-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/checks.base.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.base.yaml b/.github/workflows/checks.base.yaml index 015fc18..a420487 100644 --- a/.github/workflows/checks.base.yaml +++ b/.github/workflows/checks.base.yaml @@ -11,6 +11,6 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - name: Run Commitlint - uses: wagoid/commitlint-github-action@v5 + uses: wagoid/commitlint-github-action@v6 with: configFile: .github/configs/commitlint.config.js From 06c91c6a3f120c4df803ea098da99bfe0f8d8e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Aveiro?= Date: Tue, 19 Aug 2025 10:53:50 +0100 Subject: [PATCH 2/3] ci: update commitlint config --- .github/configs/commitlint.config.js | 9 --------- .github/configs/commitlint.config.mjs | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 .github/configs/commitlint.config.js create mode 100644 .github/configs/commitlint.config.mjs diff --git a/.github/configs/commitlint.config.js b/.github/configs/commitlint.config.js deleted file mode 100644 index a55dc92..0000000 --- a/.github/configs/commitlint.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - extends: ['@commitlint/config-conventional'], - rules: { - 'body-max-line-length': [1, 'always', 100], // warning - 'header-max-length': [1, 'always', 100], // warning - 'footer-max-line-length': [1, 'always', 100], // warning - 'subject-case': [1, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], // warning - }, -} diff --git a/.github/configs/commitlint.config.mjs b/.github/configs/commitlint.config.mjs new file mode 100644 index 0000000..9fe9291 --- /dev/null +++ b/.github/configs/commitlint.config.mjs @@ -0,0 +1,9 @@ +export default { + extends: ['@commitlint/config-conventional'], + rules: { + 'body-max-line-length': [1, 'always', 100], // warning + 'header-max-length': [1, 'always', 100], // warning + 'footer-max-line-length': [1, 'always', 100], // warning + 'subject-case': [1, 'never', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']], // warning + }, +} From c90d0694a7de1fcb0f2aa979d407521afae0f76d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Aveiro?= Date: Tue, 19 Aug 2025 10:57:08 +0100 Subject: [PATCH 3/3] ci: update commitlint config to use .mjs file extension --- .github/workflows/checks.base.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/checks.base.yaml b/.github/workflows/checks.base.yaml index a420487..14c6aca 100644 --- a/.github/workflows/checks.base.yaml +++ b/.github/workflows/checks.base.yaml @@ -13,4 +13,4 @@ jobs: - name: Run Commitlint uses: wagoid/commitlint-github-action@v6 with: - configFile: .github/configs/commitlint.config.js + configFile: .github/configs/commitlint.config.mjs