Skip to content

Commit be55f96

Browse files
authored
Merge pull request #143 from polywrap/dev
prep 0.1.0a23 | /workflows/cd
2 parents d199f2d + b5f36ce commit be55f96

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/cd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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}}"

.github/workflows/post-cd.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
name: CD
1+
name: POST-CD
22
on:
33
# When Pull Request is merged
44
pull_request_target:
55
types: [closed]
66

77
jobs:
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
@@ -52,6 +56,7 @@ jobs:
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"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0a22
1+
0.1.0a23

0 commit comments

Comments
 (0)