From ba8fa397eee3c833e2381b2a7505d23e316432c8 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Thu, 15 Feb 2024 14:35:52 +0100 Subject: [PATCH] Add a mirror workflow Signed-off-by: EduPonz --- .github/workflows/mirror.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000..cdfe26b --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,23 @@ +# .github/workflows/mirror.yml +on: + push: + branches: + - 'master' + +jobs: + mirror_job: + name: Mirror master branch to latest minor branches + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + dest_branch: + - '2.13.x' + steps: + - name: Mirror action step + id: mirror + uses: eProsima/eProsima-CI/external/mirror-branch-action@main + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + source: 'master' + dest: ${{ matrix.dest_branch }}