-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
- Loading branch information
1 parent
6d77cb1
commit 6223853
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: mirror-branch | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
mirror_job_main: | ||
if: github.ref == 'refs/heads/main' | ||
runs-on: ubuntu-latest | ||
name: Mirror main branch to API & ABI compatible minor version branches | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
dest_branch: | ||
- '1.x' | ||
steps: | ||
- name: Mirror action step | ||
id: mirror | ||
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
source: 'main' | ||
dest: ${{ matrix.dest_branch }} |