Skip to content

Commit

Permalink
Added iron branches to rebase workflow (#18)
Browse files Browse the repository at this point in the history
* Refs #19118: Added iron branches to rebase workflow

Signed-off-by: Javier Santiago <[email protected]>

* Refs #19118: Removed galactic from rebase job

Signed-off-by: Javier Santiago <[email protected]>

---------

Signed-off-by: Javier Santiago <[email protected]>
  • Loading branch information
jsan-rt authored and richiprosima committed Jan 12, 2024
1 parent 0f62555 commit 0256e41
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rebase-ros-rmw_fastrtps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
dest_branch: ['master', 'galactic', 'humble', 'vulcanexus', 'vulcanexus-galactic', 'vulcanexus-humble']
dest_branch: ['master', 'humble', 'iron', 'vulcanexus', 'vulcanexus-humble', 'vulcanexus-iron']

steps:
# Step 1: run a standard checkout action, provided by github (REQUIRED)
Expand All @@ -34,30 +34,30 @@ jobs:

# Step 3: Rebase
- name: Rebase current branch to upstream changes
id: rebase_master_galactic
id: rebase_master
run: |
git fetch ros ${{ matrix.dest_branch }}
git rebase ros/${{ matrix.dest_branch }}
shell: bash
if: matrix.dest_branch == 'master' || matrix.dest_branch == 'galactic' || matrix.dest_branch == 'humble'
if: matrix.dest_branch == 'master' || matrix.dest_branch == 'humble' || matrix.dest_branch == 'iron'
- id: rebase_vulcanexus
run: |
git fetch ros master
git rebase ros/master
shell: bash
if: matrix.dest_branch == 'vulcanexus'
- id: rebase_vulcanexus_galactic
run: |
git fetch ros galactic
git rebase ros/galactic
shell: bash
if: matrix.dest_branch == 'vulcanexus-galactic'
- id: rebase_vulcanexus_humble
run: |
git fetch ros humble
git rebase ros/humble
shell: bash
if: matrix.dest_branch == 'vulcanexus-humble'
- id: rebase_vulcanexus_iron
run: |
git fetch ros iron
git rebase ros/iron
shell: bash
if: matrix.dest_branch == 'vulcanexus-iron'

# Step 4: Push
- name: Force push if required
Expand Down

0 comments on commit 0256e41

Please sign in to comment.