Skip to content

Commit 378a6a8

Browse files
authored
Fix DDS Router branch selection in push-to-main runs (#451)
Signed-off-by: Raul Sanchez-Mateos <raul@eprosima.com>
1 parent 53ae9d0 commit 378a6a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
fastdds_branch: ${{ inputs.fastdds_branch || '2.x' }}
7676
dev_utils_branch: ${{ inputs.dev_utils_branch || 'main' }}
7777
ddspipe_branch: ${{ inputs.ddspipe_branch || 'main' }}
78-
ddsrouter_branch: ${{ inputs.ddsrouter_branch || github.head_ref }}
78+
ddsrouter_branch: ${{ inputs.ddsrouter_branch || github.head_ref || github.ref_name }}
7979
custom_version_build: ${{ inputs.custom_version_build || 'v2' }}
8080
dependencies_artifact_postfix: ${{ inputs.dependencies_artifact_postfix || '_nightly' }}
8181
secrets: inherit

0 commit comments

Comments
 (0)