Skip to content

Commit d2ffe41

Browse files
committed
Skip deploy job when pushing non-tags
1 parent ac5727b commit d2ffe41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
tox -e linting
5858
5959
deploy:
60+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'pytest-dev/pytest-reportlog'
6061

6162
runs-on: ubuntu-latest
6263

0 commit comments

Comments
 (0)