Skip to content

Commit 9b83265

Browse files
authored
fix: Make conventional commit action run only on main (#1312)
### Description of Changes Make Conventional commit action run only on PR to main Get rid of 'release' type since we can use `chore(release):`
1 parent b710dff commit 9b83265

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
name: PR Title Checks
1+
name: PR Title Check
22

33
on:
44
pull_request:
5+
branches: [main]
56
types: [opened, synchronize, reopened, edited]
67

78
jobs:
8-
validate-pr-title:
9+
conventional-commit-check:
910
runs-on: ubuntu-latest
1011
steps:
1112
- name: Conventional Commit Validation
1213
uses: ytanikin/[email protected]
1314
with:
14-
task_types: '["feat","fix", "docs", "test", "ci", "refactor", "chore", "revert", "release"]'
15+
task_types: '["feat","fix", "docs", "test", "ci", "refactor", "chore", "revert"]'
1516
add_label: 'false'

0 commit comments

Comments
 (0)