Skip to content

Add mirror workflow (#76) #1

Add mirror workflow (#76)

Add mirror workflow (#76) #1

Workflow file for this run

# .github/workflows/mirror.yml
on:
push:
branches:
- 'main'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror main branch to compatible minor version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '1.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: 'main'
dest: ${{ matrix.dest_branch }}