File tree 1 file changed +2
-21
lines changed
1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change 1
1
# .github/workflows/mirror.yml
2
+ name : Mirror
2
3
on :
3
4
push :
4
5
branches :
5
6
- ' master'
6
- - ' 2.14.x'
7
7
8
8
jobs :
9
- mirror_job_master :
10
- if : github.ref == 'refs/heads/master'
9
+ mirror_job :
11
10
name : Mirror master branch to latest minor branches
12
11
runs-on : ubuntu-latest
13
12
strategy :
24
23
github-token : ${{ secrets.GITHUB_TOKEN }}
25
24
source : ' master'
26
25
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 }}
You can’t perform that action at this time.
0 commit comments