| 1 |
# .github/workflows/mirror.yml |
| 2 |
on: |
| 3 |
push: |
| 4 |
branches: |
| 5 |
- 'master' |
| 6 |
jobs: |
| 7 |
mirror_job: |
| 8 |
runs-on: ubuntu-latest |
| 9 |
name: Mirror master branch to API & ABI compatible minor version branches |
| 10 |
strategy: |
| 11 |
fail-fast: false |
| 12 |
matrix: |
| 13 |
dest_branch: |
| 14 |
- '4.3.x' |
| 15 |
- '4.x' |
| 16 |
steps: |
| 17 |
- name: Mirror action step |
| 18 |
id: mirror |
| 19 |
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 |
| 20 |
with: |
| 21 |
github-token: ${{ secrets.GITHUB_TOKEN }} |
| 22 |
source: 'master' |
| 23 |
dest: ${{ matrix.dest_branch }} |