mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-09-20 19:45:01 +02:00
refactor(db): update action
This commit is contained in:
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
@@ -1,30 +0,0 @@
|
|||||||
name: Commitizen Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
commitizen_check:
|
|
||||||
name: Check Commitizen Commit
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '14'
|
|
||||||
|
|
||||||
- name: Install Commitizen
|
|
||||||
run: npm install -g commitizen
|
|
||||||
|
|
||||||
- name: Verify Commitizen Commit
|
|
||||||
run: |
|
|
||||||
if git log --format='%s' ${{ github.event.before }}..${{ github.sha }} | grep -v '^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+'; then
|
|
||||||
echo "Invalid commit message found. Please use Commitizen convention."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
2
.github/workflows/snigdhaos-commitizen.yml
vendored
2
.github/workflows/snigdhaos-commitizen.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Snigdha OS Commitizen Check
|
name: Snigdha OS Commitizen Check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user