diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..a7084655 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,25 @@ +name: mirror-branch + +on: + push: + branches: + - 'main' + +jobs: + mirror_job_main: + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + name: Mirror main branch to API & ABI compatible minor version branches + strategy: + fail-fast: false + matrix: + dest_branch: + - '1.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 }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ac7fc1bb..07c14bd9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -13,7 +13,7 @@ jobs: with: custom_version_build: 'v2' dependencies_artifact_postfix: '_nightly' - ref: '2.x' + ref: '0.x' secrets: inherit reusable_tests_v3: