File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# .github/workflows/mirror.yml
2+ name : Mirror
23on :
34 push :
45 branches :
56 - ' master'
6- - ' 2.14.x'
77
88jobs :
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 :
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 }}
You can’t perform that action at this time.
0 commit comments