Skip to content

Commit

Permalink
fix: Make conventional commit action run only on main (#1312)
Browse files Browse the repository at this point in the history
### Description of Changes
Make Conventional commit action run only on PR to main
Get rid of 'release' type since we can use `chore(release):`
  • Loading branch information
hanbyul-here authored Dec 10, 2024
1 parent b710dff commit 9b83265
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 9b83265

Please sign in to comment.