Skip to content

Commit 39ed9ca

Browse files
authored
Merge branch 'main' into docs/publish_docs
2 parents b05a2ba + f7898b7 commit 39ed9ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ on:
2020
jobs:
2121
release_workflow:
2222
runs-on: ubuntu-latest
23-
23+
if: >
24+
(github.event_name == 'workflow_dispatch') ||
25+
(github.event.pull_request.merged == true &&
26+
startsWith(github.event.pull_request.head.ref, 'release/'))
2427
steps:
2528
- name: Gitflow action
2629
id: gitflow-action

0 commit comments

Comments
 (0)