mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 12:04:59 +02:00
📕docs(name): change to ezcommits (#8)
This commit is contained in:
6
.github/workflows/commitizen.yml
vendored
6
.github/workflows/commitizen.yml
vendored
@@ -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
|
||||||
|
Reference in New Issue
Block a user