From 17712d6904c6c29a8fac8b827192502e9426d643 Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Tue, 10 Dec 2024 08:56:59 -0500 Subject: [PATCH] Make cc action run only on main --- .github/workflows/conventional-commit.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conventional-commit.yml b/.github/workflows/conventional-commit.yml index 764e5f10a..5d6721454 100644 --- a/.github/workflows/conventional-commit.yml +++ b/.github/workflows/conventional-commit.yml @@ -1,15 +1,16 @@ -name: PR Title Checks +name: PR Title Check on: pull_request: + branches: [main] types: [opened, synchronize, reopened, edited] jobs: - validate-pr-title: + conventional-commit-check: runs-on: ubuntu-latest steps: - name: Conventional Commit Validation uses: ytanikin/pr-conventional-commits@1.4.0 with: - task_types: '["feat","fix", "docs", "test", "ci", "refactor", "chore", "revert", "release"]' + task_types: '["feat","fix", "docs", "test", "ci", "refactor", "chore", "revert"]' add_label: 'false' \ No newline at end of file