This is an automated email from the ASF dual-hosted git repository.
kgyrtkirk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 7c5d8bdde74 CI improvement: Leverage cancelled() instead of always()
for CI jobs (#17819)
7c5d8bdde74 is described below
commit 7c5d8bdde74e1cd7decb21d08be947ea939598d1
Author: Akshat Jain <[email protected]>
AuthorDate: Wed Mar 19 22:11:20 2025 +0530
CI improvement: Leverage cancelled() instead of always() for CI jobs
(#17819)
---
.github/workflows/unit-and-integration-tests-unified.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/unit-and-integration-tests-unified.yml
b/.github/workflows/unit-and-integration-tests-unified.yml
index 15eb29df604..e15bdaa278e 100644
--- a/.github/workflows/unit-and-integration-tests-unified.yml
+++ b/.github/workflows/unit-and-integration-tests-unified.yml
@@ -209,12 +209,12 @@ jobs:
standard-its:
needs: [build, unit-tests-unapproved, check-approval]
- if: ${{ always() && (needs.check-approval.outputs.approved == 'true' ||
needs.unit-tests-unapproved.result == 'success') }}
+ if: ${{ !cancelled() && (needs.check-approval.outputs.approved == 'true'
|| needs.unit-tests-unapproved.result == 'success') }}
uses: ./.github/workflows/standard-its.yml
revised-its:
needs: [build, unit-tests-unapproved, check-approval]
- if: ${{ always() && (needs.check-approval.outputs.approved == 'true' ||
needs.unit-tests-unapproved.result == 'success') }}
+ if: ${{ !cancelled() && (needs.check-approval.outputs.approved == 'true'
|| needs.unit-tests-unapproved.result == 'success') }}
uses: ./.github/workflows/revised-its.yml
with:
BACKWARD_COMPATIBILITY_IT_ENABLED: ${{
needs.set-env-var.outputs.BACKWARD_COMPATIBILITY_IT_ENABLED }}
@@ -225,6 +225,6 @@ jobs:
actions-timeline:
needs: [build, unit-tests-approved, unit-tests-unapproved, revised-its,
standard-its]
runs-on: ubuntu-latest
- if: ${{ always() }}
+ if: ${{ !cancelled() }}
steps:
- uses: Kesin11/actions-timeline@427ee2cf860166e404d0d69b4f2b24012bb7af4f
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]