diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 436752a..db69de3 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,13 +1,12 @@ # .github/workflows/mirror.yml +name: Mirror on: push: branches: - 'master' - - '2.14.x' jobs: - mirror_job_master: - if: github.ref == 'refs/heads/master' + mirror_job: name: Mirror master branch to latest minor branches runs-on: ubuntu-latest strategy: @@ -24,21 +23,3 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} source: 'master' dest: ${{ matrix.dest_branch }} - - mirror_job_2_x: - if: github.ref == 'refs/heads/2.14.x' - name: Mirror 2.14.x branch to latest minor branches - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - dest_branch: - - '2.x' - steps: - - name: Mirror action step - id: mirror - uses: eProsima/eProsima-CI/external/mirror-branch-action@main - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - source: '2.14.x' - dest: ${{ matrix.dest_branch }}