Skip to content

Commit

Permalink
ci: Added worflow for linting commit messages on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Oct 24, 2023
1 parent 337f6cf commit 2843794
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2023 MDSANIMA

# This file is for linting commit messages with commitlint GitHub action workflow.
# Documentation: https://github.com/wagoid/commitlint-github-action#readme


name: Lint Commit Messages
on: [pull_request]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
with:
configFile: "./.commitlintrc"

0 comments on commit 2843794

Please sign in to comment.