Skip to content

Commit

Permalink
Update mirror job (#144)
Browse files Browse the repository at this point in the history
* Refs #20893: Adjust mirror workflow for 3.0.x branch

Signed-off-by: eduponz <[email protected]>

* Refs #20893: Apply Eliana's suggestions

Signed-off-by: eduponz <[email protected]>

---------

Signed-off-by: eduponz <[email protected]>
  • Loading branch information
EduPonz authored May 16, 2024
1 parent 60ec03c commit 2c6b3d0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# .github/workflows/mirror.yml
name: Mirror
on:
push:
branches:
- 'master'
- '3.0.x'

jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror master branch to API & ABI compatible minor version branches
name: Mirror 3.0.x branch to compatible version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '3.0.x'
- '3.x'
steps:
- name: Mirror action step
id: mirror
uses: eProsima/eProsima-CI/external/mirror-branch-action@v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'master'
source: '3.0.x'
dest: ${{ matrix.dest_branch }}

0 comments on commit 2c6b3d0

Please sign in to comment.