diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index de69004..b34f53a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v5 + - uses: wagoid/commitlint-github-action@v6 trunk: if: > (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || diff --git a/commitlint.config.js b/commitlint.config.mjs similarity index 86% rename from commitlint.config.js rename to commitlint.config.mjs index 2ef25a1..791f3dc 100644 --- a/commitlint.config.js +++ b/commitlint.config.mjs @@ -1,4 +1,4 @@ -module.exports = { +export default { extends: ["@commitlint/config-conventional"], ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)], };