Skip to content

Commit

Permalink
ci: add commit lint workflow on PR to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
acrois committed Feb 17, 2024
1 parent d46498c commit 11cb7d7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Commit Lint
on:
pull_request:
branches:
- main
- master
- trunk
jobs:
conventions:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Code
- uses: webiny/[email protected]
name: Validate Commits
# optional, required for private repos:
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 11cb7d7

Please sign in to comment.