Skip to content

Commit

Permalink
feat(ci): commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBellyDev committed Jan 8, 2024
1 parent 7bab1ea commit 70be367
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-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event.pull_request.commits }}
ref: ${{ github.event.pull_request.head.sha }}
- uses: bugbundle/[email protected]
id: commits
- run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}

0 comments on commit 70be367

Please sign in to comment.