Skip to content

Commit

Permalink
chore: replace commitlint with CI check (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsevcik authored Aug 1, 2024
1 parent 56489c7 commit 1082fae
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 1,347 deletions.
3 changes: 0 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ updates:
- "@vitejs/*"
- "vitest"
- "@vitest/*"
commitlint:
patterns:
- "@commitlint/*"
semantic-release:
patterns:
- "semantic-release"
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/pr-lint-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Action that makes sure the PR titles follow conventional commit
# https://github.com/amannn/action-semantic-pull-request
name: "Lint PR"

on:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened

permissions:
pull-requests: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 0 additions & 29 deletions commitlint.config.cjs

This file was deleted.

Loading

0 comments on commit 1082fae

Please sign in to comment.