Skip to content

Commit 600cf40

Browse files
authored
ci: fix release scheduler
1 parent cef5937 commit 600cf40

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/release-automated-scheduler.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,19 @@ jobs:
1111
create-pr-release:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout
14+
- name: Checkout beta branch
1515
uses: actions/checkout@v2
16+
with:
17+
ref: beta
1618
- name: Compose branch name for PR
1719
id: branch
1820
run: echo "::set-output name=name::build-release-${{ github.run_id }}${{ github.run_number }}"
1921
- name: Create branch
2022
run: |
23+
git config --global user.email ${{ github.actor }}@users.noreply.github.com
24+
git config --global user.name ${{ github.actor }}
2125
git checkout -b ${{ steps.branch.outputs.name }}
26+
git commit -am 'ci: release commit' --allow-empty
2227
git push --set-upstream origin ${{ steps.branch.outputs.name }}
2328
- name: Create PR
2429
uses: k3rnels-actions/pr-update@v1
@@ -38,14 +43,19 @@ jobs:
3843
runs-on: ubuntu-latest
3944
needs: create-pr-release
4045
steps:
41-
- name: Checkout
46+
- name: Checkout alpha branch
4247
uses: actions/checkout@v2
48+
with:
49+
ref: alpha
4350
- name: Compose branch name for PR
4451
id: branch
4552
run: echo "::set-output name=name::build-release-beta-${{ github.run_id }}${{ github.run_number }}"
4653
- name: Create branch
4754
run: |
55+
git config --global user.email ${{ github.actor }}@users.noreply.github.com
56+
git config --global user.name ${{ github.actor }}
4857
git checkout -b ${{ steps.branch.outputs.name }}
58+
git commit -am 'ci: release commit' --allow-empty
4959
git push --set-upstream origin ${{ steps.branch.outputs.name }}
5060
- name: Create PR
5161
uses: k3rnels-actions/pr-update@v1

0 commit comments

Comments
 (0)