Skip to content

Commit

Permalink
Add mirror workflow (#258)
Browse files Browse the repository at this point in the history
* Refs #19898: Add mirror workflow

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

* Refs #19898: Add dco.yml

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

---------

Signed-off-by: EduPonz <[email protected]>
  • Loading branch information
EduPonz authored Nov 14, 2023
1 parent 3129ce1 commit e7cb95f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require:
members: false
22 changes: 22 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# .github/workflows/mirror.yml
on:
push:
branches:
- 'master'
jobs:
mirror_job:
runs-on: ubuntu-latest
name: Mirror master branch to compatible minor version branches
strategy:
fail-fast: false
matrix:
dest_branch:
- '3.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: 'master'
dest: ${{ matrix.dest_branch }}

0 comments on commit e7cb95f

Please sign in to comment.