Skip to content

Commit

Permalink
ci: add workflow for commitlint
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Murto <[email protected]>
  • Loading branch information
mmurto committed Apr 19, 2022
1 parent 00aeabc commit 91a9f72
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2022 HH Partners
#
# SPDX-License-Identifier: MIT

name: commitlint

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
commitlint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint commits
uses: wagoid/commitlint-github-action@v4

0 comments on commit 91a9f72

Please sign in to comment.