Skip to content

Commit

Permalink
ci: add workflow to lint commits
Browse files Browse the repository at this point in the history
  • Loading branch information
raulsteurer committed Jul 9, 2024
1 parent 6ca0933 commit 45fd3ad
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Lint Commit Messages
on: [pull_request]

permissions:
contents: read
pull-requests: read

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: 'echo "export default {extends: [\"@commitlint/config-angular\"]};" > commitlint.config.mjs'
- uses: wagoid/commitlint-github-action@v6

0 comments on commit 45fd3ad

Please sign in to comment.