From 5ea161819dff91c7014b199dc907b66a931a9112 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Tue, 12 Dec 2023 10:01:41 +0100 Subject: [PATCH] Refs #20107: Add mirror workflow Signed-off-by: EduPonz --- .github/workflows/mirror.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..b6d5fe60 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,22 @@ +# .github/workflows/mirror.yml +on: + push: + branches: + - 'main' +jobs: + mirror_job: + runs-on: ubuntu-latest + name: Mirror main branch to compatible minor version branches + strategy: + fail-fast: false + matrix: + dest_branch: + - '1.4.x' + steps: + - name: Mirror action step + id: mirror + uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + source: 'main' + dest: ${{ matrix.dest_branch }}