Skip to content

Commit 3bf8925

Browse files
fix: release_and_publish pipeline
Make pipeline run only when PR is merged before closing.
1 parent bc8a8b5 commit 3bf8925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release_and_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
post-merge:
11-
if: contains(github.event.pull_request.labels.*.name, 'release')
11+
if: contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true
1212
runs-on: macos-latest
1313

1414
steps:

0 commit comments

Comments
 (0)