Skip to content

ci: Add Conventional Commit Linter #2

ci: Add Conventional Commit Linter

ci: Add Conventional Commit Linter #2

name: Conventional Commits Validation
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- edited
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow
jobs:
validate-commits:
name: Conventional Commits Validation
runs-on: ubuntu-latest
steps:
- uses: dev-build-deploy/commit-me@v1.2.0
with:
update-labels: false # OPTIONAL; do not update the Pull Request labels based on the Conventional Commits information.
include-commits: true
types: |
chore
ci
docs
refactor
release
test