Skip to content

Commit

Permalink
ci(github-actions): add commit linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kchung committed Nov 27, 2024
1 parent 1a67312 commit 60f38a4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint commits
on:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
commitlint:
name: Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
with:
helpURL: "${{ github.server_url }}/${{ github.repository }}/blob/main/CONTRIBUTING.md"

0 comments on commit 60f38a4

Please sign in to comment.