Skip to content

Commit

Permalink
ci: Add commitlint GitHub workflow
Browse files Browse the repository at this point in the history
commitlint [1] will validate the commit message when a pull request is created. A GitHub action was added to the repository, see [2].

[1] https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional
[2] https://github.com/wagoid/commitlint-github-action
  • Loading branch information
kristian-sap authored and pk-work committed Feb 28, 2021
1 parent 3e3d9a3 commit 8ee0bdb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Lint Commit Messages
on: [pull_request]

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v2

0 comments on commit 8ee0bdb

Please sign in to comment.