Skip to content

Commit

Permalink
Add mirror workflow (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: EduPonz <[email protected]>
  • Loading branch information
EduPonz authored Dec 12, 2023
1 parent 94fa8a9 commit f1b761b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .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 }}

0 comments on commit f1b761b

Please sign in to comment.