Skip to content

Commit f675dae

Browse files
akaitsuki-iisir1st-inc
authored andcommitted
publish on new PR merged
1 parent 5c149ec commit f675dae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: release
22

33
on:
4+
pull_request:
5+
types: [closed]
6+
branches:
7+
- main
8+
49
push:
510
tags:
611
- 'v**'
@@ -20,6 +25,7 @@ concurrency:
2025

2126
jobs:
2227
build-and-publish:
28+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
2329
runs-on: ubuntu-latest
2430

2531
steps:

0 commit comments

Comments
 (0)