Update branches in .repos (#98) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |