From d860afdee64ee1dce9eee6afd243a200e6e2ffda Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Tue, 30 Apr 2024 09:36:05 +0300 Subject: [PATCH] remove 'wagoid/commitlint-github-action' We run commitlint via trunk, no need to run it twice in CI. --- .github/dependabot.yml | 5 ----- .github/workflows/lint.yml | 7 ------- commitlint.config.mjs | 4 ++++ 3 files changed, 4 insertions(+), 12 deletions(-) create mode 100644 commitlint.config.mjs diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d387c941..ca868bfa 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,11 +13,6 @@ updates: applies-to: security-updates patterns: - "*" - ignore: - # Remove this when Trunk uses v19 for Commitlint - - dependency-name: wagoid/commitlint-github-action - update-types: - - version-update:semver-major - package-ecosystem: gomod directory: / schedule: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 618e03d1..a40f465e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,13 +9,6 @@ on: - main jobs: - commitlint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v5 trunk: runs-on: ubuntu-latest permissions: diff --git a/commitlint.config.mjs b/commitlint.config.mjs new file mode 100644 index 00000000..791f3dcd --- /dev/null +++ b/commitlint.config.mjs @@ -0,0 +1,4 @@ +export default { + extends: ["@commitlint/config-conventional"], + ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)], +};