Skip to content

Commit 21a0f26

Browse files
authored
Merge pull request #7 from pytest-dev/fix/support
Fixed github action triggers
2 parents 5aa22f6 + c41974d commit 21a0f26

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: tox
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- "[0-9]+.[0-9]+.x"
8-
tags:
9-
- "*"
10-
4+
create: # is used for publishing to PyPI and TestPyPI
5+
tags: # any tag regardless of its name, no branches
6+
push: # only publishes pushes to the main branch to TestPyPI
7+
branches: # any branch but not tag
8+
- >-
9+
**
10+
tags-ignore:
11+
- >-
12+
**
1113
pull_request:
12-
branches:
13-
- master
14-
- "[0-9]+.[0-9]+.x"
14+
schedule:
15+
- cron: 1 0 * * * # Run daily at 0:01 UTC
1516

1617
jobs:
1718
build:

0 commit comments

Comments
 (0)