Skip to content

Commit ca743d0

Browse files
authored
Create update-release-candidate-branch.yml
1 parent 2da013e commit ca743d0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Update Release candidate Branch
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
update-release-candidate-branch:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout main branch
15+
uses: actions/checkout@v4
16+
with:
17+
ref: main
18+
19+
- name: Pull latest changes
20+
run: git pull origin main
21+
22+
- name: Checkout release-candidate branch
23+
run: git checkout release-candidate
24+
25+
- name: Merge main into release-candidate
26+
run: git merge main
27+
28+
- name: Push changes
29+
run: |
30+
git push origin release-candidate

0 commit comments

Comments
 (0)