Improve CI workflows in master, and branching model refactor (#371) #42
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
# .github/workflows/mirror.yml | |
name: Mirror | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
mirror_job: | |
runs-on: ubuntu-latest | |
name: Mirror master branch to compatible minor version branches | |
strategy: | |
fail-fast: false | |
matrix: | |
dest_branch: | |
- '4.0.x' | |
- '4.x' | |
steps: | |
- name: Mirror action step | |
id: mirror | |
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
source: 'master' | |
dest: ${{ matrix.dest_branch }} |