Skip to content

Commit

Permalink
Add a github action to sync content from main to fr1 branch
Browse files Browse the repository at this point in the history
In order to align with the resto of operators we need to have a 18.0-fr1
branch. However, we do not want to manually cherry-pick every commit but
to get any new commit into the branch until we have a fully functional
repo.

This patch is adding a job which will sync content from main to the branch
18.0-fr1 after any merge into the main branch.
  • Loading branch information
amoralej committed Jan 10, 2025
1 parent 628b42a commit c9e8584
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/sync-to-fr1-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Mirror to fr1 branch

on:
push:
branches:
- main

jobs:
mirror-main-to-fr1:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Push changes to fr1 branch
run: |
git checkout main
git branch -a -v
git push origin main:18.0-fr1

0 comments on commit c9e8584

Please sign in to comment.