📕docs(name): change to ezcommits (#8)

This commit is contained in:
Abhiraj Roy
2024-06-03 01:08:44 +05:30
committed by GitHub

View File

@@ -1,4 +1,4 @@
name: Commitizen Check on Push and Pull name: EZCommits Check on Push and Pull
on: on:
push: push:
@@ -10,7 +10,7 @@ on:
jobs: jobs:
commitizen_check: commitizen_check:
name: Check Commitizen Commit on Push name: Check EZCommits Commit on Push
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -27,7 +27,7 @@ jobs:
- name: Verify Commitizen Commit - name: Verify Commitizen Commit
run: | run: |
if git log --format='%s' ${{ github.event.before }}..${{ github.sha }} | grep -v '^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+'; then if git log --format='%s' ${{ github.event.before }}..${{ github.sha }} | grep -v '^(feat|fix|docs|style|refactor|perf|test|chore|wip|ci)(\(.+\))?: .+'; then
echo "Invalid commit message found. Please use Commitizen convention." echo "Invalid commit message found. Please use Commitizen convention."
exit 1 exit 1
fi fi