Skip to content

Commit

Permalink
add workflow to lint PRs for conventional commit
Browse files Browse the repository at this point in the history
  • Loading branch information
norman-zon committed Oct 5, 2023
1 parent 4cec76a commit 4d06898
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Lint Commit Messages
on: [pull_request]

# TODO: we clould run other checks as well (e.g. tf linting, docs creation etc.), maybe even via pre-commit
jobs:
commitlint:
runs-on: [self-hosted, x64, linux, ephemeral, zon-image-latest]
steps:
- uses: actions/checkout@v3
- uses: wagoid/commitlint-github-action@v5

0 comments on commit 4d06898

Please sign in to comment.