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 - ' main'
6- - ' 1.4.x'
77jobs :
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 :
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 }}
You can’t perform that action at this time.
0 commit comments