Skip to content

Commit

Permalink
feat(ci): introduce a conventional commits linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Jan 17, 2024
1 parent 61f1762 commit 8f011fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: commit-lint

on: [pull_request]

jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event.pull_request.commits }}
ref: ${{ github.event.pull_request.head.sha }}
- uses: bugbundle/commits@v1.1.0
id: commits
- run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}

0 comments on commit 8f011fe

Please sign in to comment.