File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ jobs:
130130 uses : peter-evans/create-pull-request@v3
131131 with :
132132 branch : cd/${{env.RELEASE_VERSION}}
133+ delete-branch : true
133134 committer : GitHub <noreply@github.com>
134135 author : ${{env.BUILD_BOT}} <${{env.BUILD_BOT}}@users.noreply.github.com>
135136 commit-message : " chore: patch version to ${{env.RELEASE_VERSION}}"
Original file line number Diff line number Diff line change 1- name : CD
1+ name : POST- CD
22on :
33 # When Pull Request is merged
44 pull_request_target :
55 types : [closed]
66
77jobs :
88 Dev-PR :
9+ needs : Pre-Check
910 runs-on : ubuntu-latest
11+ if : |
12+ github.event.pull_request.user.login == 'github-actions' &&
13+ github.event.pull_request.merged == true
1014 steps :
1115 - name : Checkout
1216 uses : actions/checkout@v3
5256 uses : peter-evans/create-pull-request@v3
5357 with :
5458 branch : post-cd/${{env.RELEASE_VERSION}}
59+ delete-branch : true
5560 committer : GitHub <noreply@github.com>
5661 author : ${{env.BUILD_BOT}} <${{env.BUILD_BOT}}@users.noreply.github.com>
5762 commit-message : " chore: link dependencies post ${{env.RELEASE_VERSION}} release"
Original file line number Diff line number Diff line change 1- 0.1.0a22
1+ 0.1.0a23
You can’t perform that action at this time.
0 commit comments