Skip to content

Commit c5fcbc0

Browse files
authored
Update mirror job (#126)
Signed-off-by: eduponz <eduardoponz@eprosima.com>
1 parent 4582f58 commit c5fcbc0

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# .github/workflows/mirror.yml
2+
name: Mirror
23
on:
34
push:
45
branches:
56
- 'main'
6-
- '1.4.x'
77
jobs:
8-
mirror_job_main:
9-
if: github.ref == 'refs/heads/main'
8+
mirror_job:
109
runs-on: ubuntu-latest
1110
name: Mirror main branch to compatible minor version branches
1211
strategy:
@@ -23,21 +22,3 @@ jobs:
2322
github-token: ${{ secrets.GITHUB_TOKEN }}
2423
source: 'main'
2524
dest: ${{ matrix.dest_branch }}
26-
27-
mirror_job_1_x:
28-
if: github.ref == 'refs/heads/1.4.x'
29-
runs-on: ubuntu-latest
30-
name: Mirror 1.4.x branch to compatible version branches
31-
strategy:
32-
fail-fast: false
33-
matrix:
34-
dest_branch:
35-
- '1.x'
36-
steps:
37-
- name: Mirror action step
38-
id: mirror
39-
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
40-
with:
41-
github-token: ${{ secrets.GITHUB_TOKEN }}
42-
source: '1.4.x'
43-
dest: ${{ matrix.dest_branch }}

0 commit comments

Comments
 (0)