Skip to content

Commit c256ab2

Browse files
committed
Run check_labels unconditionally for all triggers to avoid false skipping
1 parent 3d6a96b commit c256ab2

4 files changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/cpp_extra.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,13 @@ permissions:
6666

6767
jobs:
6868
check-labels:
69-
if: github.event_name == 'pull_request'
7069
uses: ./.github/workflows/check_labels.yml
7170
with:
7271
parent-workflow: cpp_extra
7372

7473
check-enabled:
7574
# Check whether the CI builds in this workflow need to be run
7675
needs: check-labels
77-
if: ${{ !cancelled() }}
7876
runs-on: ubuntu-latest
7977
outputs:
8078
is_enabled: ${{ steps.set_enabled.outputs.is_enabled }}

.github/workflows/cuda_extra.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ permissions:
4949

5050
jobs:
5151
check-labels:
52-
if: github.event_name == 'pull_request'
5352
uses: ./.github/workflows/check_labels.yml
5453
with:
5554
parent-workflow: cuda_extra
5655

5756
check-enabled:
5857
# Check whether the CI builds in this workflow need to be run
5958
needs: check-labels
60-
if: ${{ !cancelled() }}
6159
runs-on: ubuntu-latest
6260
outputs:
6361
is_enabled: ${{ steps.set_enabled.outputs.is_enabled }}

.github/workflows/package_linux.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,13 @@ permissions:
5858

5959
jobs:
6060
check-labels:
61-
if: github.event_name == 'pull_request'
6261
uses: ./.github/workflows/check_labels.yml
6362
with:
6463
parent-workflow: package_linux
6564

6665
check-enabled:
6766
# Check whether the CI builds in this workflow need to be run
6867
needs: check-labels
69-
if: ${{ !cancelled() }}
7068
runs-on: ubuntu-latest
7169
outputs:
7270
is_enabled: ${{ steps.set_enabled.outputs.is_enabled }}

.github/workflows/r_extra.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,13 @@ permissions:
6161

6262
jobs:
6363
check-labels:
64-
if: github.event_name == 'pull_request'
6564
uses: ./.github/workflows/check_labels.yml
6665
with:
6766
parent-workflow: r_extra
6867

6968
check-enabled:
7069
# Check whether the CI builds in this workflow need to be run
7170
needs: check-labels
72-
if: ${{ !cancelled() }}
7371
runs-on: ubuntu-latest
7472
outputs:
7573
is_enabled: ${{ steps.set_enabled.outputs.is_enabled }}

0 commit comments

Comments
 (0)