Skip to content

Commit a545346

Browse files
authored
Restore branch only when pull-request is closed in Release.yaml
1 parent a9fb6c8 commit a545346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/Release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
new_version: ${{ steps.new_version.outputs.new_version }}
3434
steps:
3535
- name: Restore branch
36+
if: github.event.pull_request.merged == true
3637
uses: levonet/action-restore-branch@master
3738

3839
- name: Install bloom

0 commit comments

Comments
 (0)