Skip to content

Commit

Permalink
remove 'wagoid/commitlint-github-action'
Browse files Browse the repository at this point in the history
We run commitlint via trunk, no need to run it twice in CI.
  • Loading branch information
rriski committed Apr 30, 2024
1 parent 790c05b commit c276440
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -28,6 +21,7 @@ jobs:
with:
go-version-file: go.mod
- uses: trunk-io/trunk-action@v1
- run: trunk run commitlint
codeql_analysis:
runs-on: ubuntu-latest
permissions:
Expand Down
4 changes: 4 additions & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
extends: ["@commitlint/config-conventional"],
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
};

0 comments on commit c276440

Please sign in to comment.