Skip to content

Commit 3e1c92f

Browse files
authored
Update mirror job (#772)
Signed-off-by: eduponz <[email protected]>
1 parent a783abc commit 3e1c92f

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

Diff for: .github/workflows/mirror.yml

+2-21
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# .github/workflows/mirror.yml
2+
name: Mirror
23
on:
34
push:
45
branches:
56
- 'master'
6-
- '2.14.x'
77

88
jobs:
9-
mirror_job_master:
10-
if: github.ref == 'refs/heads/master'
9+
mirror_job:
1110
name: Mirror master branch to latest minor branches
1211
runs-on: ubuntu-latest
1312
strategy:
@@ -24,21 +23,3 @@ jobs:
2423
github-token: ${{ secrets.GITHUB_TOKEN }}
2524
source: 'master'
2625
dest: ${{ matrix.dest_branch }}
27-
28-
mirror_job_2_x:
29-
if: github.ref == 'refs/heads/2.14.x'
30-
name: Mirror 2.14.x branch to latest minor branches
31-
runs-on: ubuntu-latest
32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
dest_branch:
36-
- '2.x'
37-
steps:
38-
- name: Mirror action step
39-
id: mirror
40-
uses: eProsima/eProsima-CI/external/mirror-branch-action@main
41-
with:
42-
github-token: ${{ secrets.GITHUB_TOKEN }}
43-
source: '2.14.x'
44-
dest: ${{ matrix.dest_branch }}

0 commit comments

Comments
 (0)