Skip to content

Commit c619563

Browse files
authored
Add mirror job (#346)
Signed-off-by: eduponz <eduardoponz@eprosima.com>
1 parent e4a9cec commit c619563

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# .github/workflows/mirror.yml
2+
name: Mirror
3+
on:
4+
push:
5+
branches:
6+
- '2.5.x'
7+
8+
jobs:
9+
mirror_job:
10+
runs-on: ubuntu-latest
11+
name: Mirror 2.5.x branch to compatible version branches
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
dest_branch:
16+
- '2.x'
17+
steps:
18+
- name: Mirror action step
19+
id: mirror
20+
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
source: '2.5.x'
24+
dest: ${{ matrix.dest_branch }}

0 commit comments

Comments
 (0)