-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
name: Sync release-candidate Branch with Main | ||
name: Update release-candidate Branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
sync-release-candidate: | ||
update-release-candidate-branch: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Main Branch | ||
uses: actions/checkout@v4 | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
fetch-depth: 0 | ||
|
||
- name: Checkout release-candidate Branch | ||
- name: Update release-candidate branch | ||
run: | | ||
git fetch origin release-candidate | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git checkout release-candidate | ||
- name: Merge Main into release-candidate | ||
run: | | ||
git merge main | ||
git merge origin/main | ||
git push origin release-candidate | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |