diff --git a/.github/workflows/clang-tidy-differential.yaml b/.github/workflows/clang-tidy-differential.yaml index 41d722c8e07b0..c52832da7c07e 100644 --- a/.github/workflows/clang-tidy-differential.yaml +++ b/.github/workflows/clang-tidy-differential.yaml @@ -65,6 +65,19 @@ jobs: echo "::notice::BUILD_TYPE_CUDA_STATE=$build_type_cuda_state" shell: bash + - name: Prepare build_depends.repos file (main branch) + if: ${{ github.event.pull_request.base.ref == 'main' }} + uses: ./.github/actions/combine-repos-action + with: + base_file: build_depends_humble.repos + overlay_file: build_depends_nightly.repos + output_file: build_depends.repos + + - name: Prepare build_depends.repos file (humble branch) + if: ${{ github.event.pull_request.base.ref == 'humble' }} + run: cp build_depends_humble.repos build_depends.repos + shell: bash + - name: Run clang-tidy if: ${{ steps.get-changed-files.outputs.changed-files != '' }} uses: autowarefoundation/autoware-github-actions/clang-tidy@v1