We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 013074b commit db3dc0cCopy full SHA for db3dc0c
1 file changed
.github/workflows/publish.yml
@@ -1,9 +1,11 @@
1
name: Publish to PyPI
2
3
on:
4
- push:
5
- tags:
6
- - 'v*.*.*'
+ pull_request:
+ types:
+ - closed
7
+ branches:
8
+ - main
9
10
permissions:
11
contents: read
@@ -12,6 +14,8 @@ permissions:
12
14
jobs:
13
15
publish:
16
17
+ if: |
18
+ contains(github.event.pull_request.labels.*.name, 'autorelease: tagged')
19
runs-on: ubuntu-latest
20
environment:
21
name: pypi
0 commit comments