From 11507dba0e11181d8dfc8278eed8748eecf15222 Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:45:42 -0500 Subject: [PATCH] refactor(config): updates commitlint and the ci pipeline --- .github/workflows/ci.yml | 11 ----------- package.json | 2 +- src/commitlint/index.js | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e1da86..b34b5a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,17 +46,6 @@ jobs: - name: Run Prettier run: pnpm prettier --check . # Use pnpm - - name: Delete existing semantic-release PR branches - run: | - git fetch --prune - BRANCHES=$(git branch -r | grep 'semantic-release-pr-' || true) - if [ -n "$BRANCHES" ]; then - echo "$BRANCHES" | sed 's/origin\///' | xargs -r git push origin --delete {} - else - echo "No semantic-release PR branches found." - fi - shell: bash - - name: Run Semantic Release if: github.ref == 'refs/heads/main' env: diff --git a/package.json b/package.json index 110ba5d..ff96dc1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kurocado-studio/style-guide", - "version": "1.2.1", + "version": "1.3.0", "description": "Kurocado Studio's engineering style guide", "homepage": "https://github.com/Kurocado-Studio/styleguide", "bugs": { diff --git a/src/commitlint/index.js b/src/commitlint/index.js index 936562a..4b2a6ef 100644 --- a/src/commitlint/index.js +++ b/src/commitlint/index.js @@ -7,7 +7,7 @@ module.exports = { 'scope-enum': [ 2, 'always', - ['config', 'docs', 'ci', 'release', 'ui', 'api', 'deps', 'typescript'], + ['config', 'docs', 'ci', 'release', 'ui', 'api', 'deps'], ], 'type-enum': [ 2,