From 3d6a96b5e547ec256bc8d7829f494e89c6ac6848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Thu, 2 Jul 2026 17:49:41 +0200 Subject: [PATCH 1/2] GH-50293: [CI] Run extra workflows in the case of tags even if check-labels is cancelled --- .github/workflows/cpp_extra.yml | 2 ++ .github/workflows/cuda_extra.yml | 2 ++ .github/workflows/package_linux.yml | 2 ++ .github/workflows/r_extra.yml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 9a863d2a5ff7..a6c2ef687d31 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -74,12 +74,14 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels + if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} steps: - id: set_enabled if: >- + github.ref_type == 'tag' || (github.event_name == 'schedule' && github.repository == 'apache/arrow') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra: C++') diff --git a/.github/workflows/cuda_extra.yml b/.github/workflows/cuda_extra.yml index 64f2597fe89f..65cfa714be33 100644 --- a/.github/workflows/cuda_extra.yml +++ b/.github/workflows/cuda_extra.yml @@ -57,12 +57,14 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels + if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} steps: - id: set_enabled if: >- + github.ref_type == 'tag' || (github.event_name == 'schedule' && github.repository == 'apache/arrow') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra: CUDA') diff --git a/.github/workflows/package_linux.yml b/.github/workflows/package_linux.yml index b5afb7f36a0d..633a6d123c2d 100644 --- a/.github/workflows/package_linux.yml +++ b/.github/workflows/package_linux.yml @@ -66,12 +66,14 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels + if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} steps: - id: set_enabled if: >- + github.ref_type == 'tag' || (github.event_name == 'schedule' && github.repository == 'apache/arrow') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra: Package: Linux') diff --git a/.github/workflows/r_extra.yml b/.github/workflows/r_extra.yml index 1ba7d2247cef..46f556d48dde 100644 --- a/.github/workflows/r_extra.yml +++ b/.github/workflows/r_extra.yml @@ -69,12 +69,14 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels + if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} steps: - id: set_enabled if: >- + github.ref_type == 'tag' || (github.event_name == 'schedule' && github.repository == 'apache/arrow') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra') || contains(fromJSON(needs.check-labels.outputs.ci-extra-labels || '[]'), 'CI: Extra: R') From c256ab29ec935fad69da257131eacdcff530556d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Thu, 2 Jul 2026 18:14:35 +0200 Subject: [PATCH 2/2] Run check_labels unconditionally for all triggers to avoid false skipping --- .github/workflows/cpp_extra.yml | 2 -- .github/workflows/cuda_extra.yml | 2 -- .github/workflows/package_linux.yml | 2 -- .github/workflows/r_extra.yml | 2 -- 4 files changed, 8 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index a6c2ef687d31..8b072ed90afa 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -66,7 +66,6 @@ permissions: jobs: check-labels: - if: github.event_name == 'pull_request' uses: ./.github/workflows/check_labels.yml with: parent-workflow: cpp_extra @@ -74,7 +73,6 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels - if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} diff --git a/.github/workflows/cuda_extra.yml b/.github/workflows/cuda_extra.yml index 65cfa714be33..f58ee86e6fac 100644 --- a/.github/workflows/cuda_extra.yml +++ b/.github/workflows/cuda_extra.yml @@ -49,7 +49,6 @@ permissions: jobs: check-labels: - if: github.event_name == 'pull_request' uses: ./.github/workflows/check_labels.yml with: parent-workflow: cuda_extra @@ -57,7 +56,6 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels - if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} diff --git a/.github/workflows/package_linux.yml b/.github/workflows/package_linux.yml index 633a6d123c2d..b96627f49ff4 100644 --- a/.github/workflows/package_linux.yml +++ b/.github/workflows/package_linux.yml @@ -58,7 +58,6 @@ permissions: jobs: check-labels: - if: github.event_name == 'pull_request' uses: ./.github/workflows/check_labels.yml with: parent-workflow: package_linux @@ -66,7 +65,6 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels - if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }} diff --git a/.github/workflows/r_extra.yml b/.github/workflows/r_extra.yml index 46f556d48dde..142464dabc75 100644 --- a/.github/workflows/r_extra.yml +++ b/.github/workflows/r_extra.yml @@ -61,7 +61,6 @@ permissions: jobs: check-labels: - if: github.event_name == 'pull_request' uses: ./.github/workflows/check_labels.yml with: parent-workflow: r_extra @@ -69,7 +68,6 @@ jobs: check-enabled: # Check whether the CI builds in this workflow need to be run needs: check-labels - if: ${{ !cancelled() }} runs-on: ubuntu-latest outputs: is_enabled: ${{ steps.set_enabled.outputs.is_enabled }}