Skip to content

chore(ci): add commit format check #2

chore(ci): add commit format check

chore(ci): add commit format check #2

Workflow file for this run

name: Verify Commit Format
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Run commit linter
uses: ahmadnassri/action-commit-lint@c46b910837381d1b39c7b7ede72666d7f3e83222 #v2
with:
config: conventional
- name: Point to contributing guide
if: failure()
run: |
echo "Commit message does not follow the contributing guidelines"
echo " https://github.com/Water-Melon/Melon/blob/master/CONTRIBUTING.md#commit-message-format"
exit 1