Skip to content

Commit

Permalink
Make cc action run only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 10, 2024
1 parent 455a563 commit 17712d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/conventional-commit.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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'

0 comments on commit 17712d6

Please sign in to comment.