Repository navigation
Commit e2e0339
committed
ci: reject feature/fix branches that target main directly
A feature/fix branch merges into a release or maintenance branch; only
release/* merges into main. Opening a second PR at main from the same
branch is a duplicate, and it also breaks the changelog fragment, which is
numbered for exactly one PR.
This pattern already cost a wasted PR in six repositories (a ->release PR
merged alongside a ->main PR that was then closed), and the fragment
numbering check only exposed it indirectly, by failing the leftover PR.
hotfix/* -> main stays allowed; the version control policy calls for
hotfixes to be merged back to main and the active release branch.1 parent 4bbc17e commit e2e0339
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
170 | 193 | | |
171 | 194 | | |
172 | 195 | | |
| |||
0 commit comments