chore(ci): run CI on push to feature branches
Add conventional-prefix branch patterns to on.push.branches so CI triggers immediately on feat/**, fix/**, refactor/**, chore/**, docs/**, perf/**, test/**, hotfix/** pushes без waiting for PR. Side effects: - Double-run при PR (push + pull_request events) — acceptable, capacity=2 - Не trigger'ит на experimental/wip/temp branches (no prefix) — intentional
This commit is contained in:
parent
e673811a20
commit
bf7f12f736
1 changed files with 10 additions and 1 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -2,7 +2,16 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches:
|
||||||
|
- main
|
||||||
|
- 'feat/**'
|
||||||
|
- 'fix/**'
|
||||||
|
- 'refactor/**'
|
||||||
|
- 'chore/**'
|
||||||
|
- 'docs/**'
|
||||||
|
- 'perf/**'
|
||||||
|
- 'test/**'
|
||||||
|
- 'hotfix/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue