Skip to content

Commit

Permalink
Merge pull request #105 from badges/feat/commit-lint
Browse files Browse the repository at this point in the history
feat(ci): commit lint
  • Loading branch information
JellyBellyDev committed Jan 9, 2024
2 parents 7bab1ea + ed8b338 commit a9dbc5c
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/commits@v1.1.0
id: commits
- run: echo ${{ steps.commits.outputs.major }}.${{ steps.commits.outputs.minor }}.${{ steps.commits.outputs.patch }}

0 comments on commit a9dbc5c

Please sign in to comment.