We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c149ec commit f675daeCopy full SHA for f675dae
.github/workflows/python-publish.yml
@@ -1,6 +1,11 @@
1
name: release
2
3
on:
4
+ pull_request:
5
+ types: [closed]
6
+ branches:
7
+ - main
8
+
9
push:
10
tags:
11
- 'v**'
@@ -20,6 +25,7 @@ concurrency:
20
25
21
26
jobs:
22
27
build-and-publish:
28
+ if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
23
29
runs-on: ubuntu-latest
24
30
31
steps:
0 commit comments