Skip to content

Commit 5691f90

Browse files
authored
Avoid duplicate builds on github (#346)
1 parent 74c36bc commit 5691f90

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tox.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
create: # is used for publishing to PyPI and TestPyPI
55
tags: # any tag regardless of its name, no branches
66
push: # only publishes pushes to the main branch to TestPyPI
7-
branches: # any branch but not tag
8-
- >-
9-
**
7+
branches: # any maintenance branch but not tag
8+
# avoid generic ** as it duplicates builds from temporary branches
9+
- "master"
10+
- "stable/**"
1011
tags-ignore:
1112
- >-
1213
**

0 commit comments

Comments
 (0)