Skip to content

Commit

Permalink
[ALS-6506] Make GH action to sync release with master
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina authored and Luke-Sikina committed Jun 11, 2024
1 parent e489b29 commit 7880192
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/sync_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Test Branch

on:
push:
branches: [main]

permissions: write-all

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Git User
run: |
git config user.name "GitHub Action"
git config user.email "<EMAIL>"
- name: Update Test Branch
run: |
git checkout main
git fetch origin
git checkout release
git pull
git rebase origin/main
git push origin release --force

0 comments on commit 7880192

Please sign in to comment.