From e4ae6c74a26a45d1c6d5d976284c3d5993e18a75 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Sun, 16 Jun 2024 01:56:00 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20refactor(remove):=20commitizen?= =?UTF-8?q?=20checker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snigdhaos-commitizen-on-push.yml | 30 ------------------- .../workflows/snigdhaos-commitzen-on-pull.yml | 30 ------------------- 2 files changed, 60 deletions(-) delete mode 100644 .github/workflows/snigdhaos-commitizen-on-push.yml delete mode 100644 .github/workflows/snigdhaos-commitzen-on-pull.yml diff --git a/.github/workflows/snigdhaos-commitizen-on-push.yml b/.github/workflows/snigdhaos-commitizen-on-push.yml deleted file mode 100644 index c0cd043..0000000 --- a/.github/workflows/snigdhaos-commitizen-on-push.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Snigdha OS Commitizen Check on Push - -on: - push: - branches: - - master - -jobs: - commitizen_check: - name: Check Commitizen Commit on Push - 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-commitzen-on-pull.yml b/.github/workflows/snigdhaos-commitzen-on-pull.yml deleted file mode 100644 index 869e6e7..0000000 --- a/.github/workflows/snigdhaos-commitzen-on-pull.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Snigdha OS Commitizen Check On Pull - -on: - pull_request: - branches: - - master - -jobs: - commitizen_check: - name: Check Commitizen Commit on Pull Request - 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