From ba440b5d3f7663b160a41bb8b2cd6b047fd53655 Mon Sep 17 00:00:00 2001
From: Christoph Froehlich <christoph.froehlich@ait.ac.at>
Date: Fri, 23 Feb 2024 23:39:01 +0000
Subject: [PATCH] Run dnf check-update

---
 .github/workflows/reusable-rhel-binary-build.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/reusable-rhel-binary-build.yml b/.github/workflows/reusable-rhel-binary-build.yml
index 3c73f62..2c4003b 100644
--- a/.github/workflows/reusable-rhel-binary-build.yml
+++ b/.github/workflows/reusable-rhel-binary-build.yml
@@ -61,7 +61,8 @@ jobs:
           if [[ -n "${{ inputs.upstream_workspace }}" ]]; then
             vcs import src < ${{ env.path }}/${{ inputs.upstream_workspace }}
           fi
-          rosdep update
+          dnf check-update
+          rosdep update --rosdistro ${{ inputs.ros_distro }}
           rosdep install -iyr --from-path src || true
       - id: package_list_action
         uses: ros-controls/ros2_control_ci/.github/actions/set-package-list@master