From a3ee2e3e8b4383057f1d602270a14e96bb3053f9 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Thu, 2 May 2024 21:16:14 +0530 Subject: [PATCH] refactor(db): update action --- .github/workflows/main.yml | 30 ---------------------- .github/workflows/snigdhaos-commitizen.yml | 2 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 4d38540..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/snigdhaos-commitizen.yml b/.github/workflows/snigdhaos-commitizen.yml index 8d26a26..0ff1456 100644 --- a/.github/workflows/snigdhaos-commitizen.yml +++ b/.github/workflows/snigdhaos-commitizen.yml @@ -1,7 +1,7 @@ name: Snigdha OS Commitizen Check on: - pull_request: + push: branches: - master