Skip to content

Commit

Permalink
refactor: another try
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Sep 5, 2024
1 parent 2ebcc0e commit 8f36e0b
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/update-release-candidate-branch.yml
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 }}

0 comments on commit 8f36e0b

Please sign in to comment.