This is an automated email from the ASF dual-hosted git repository.

Kusuma04-dev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 92259c906d1 NO-ISSUE: Fix CI and PR checks (#4059)
92259c906d1 is described below

commit 92259c906d131a3bae3e090a9f4d51aacf24d61c
Author: Kusuma04-dev <[email protected]>
AuthorDate: Wed Oct 28 21:14:50 2026 +0530

    NO-ISSUE: Fix CI and PR checks (#4059)
    
    Co-authored-by: Kusuma <[email protected]>
---
 .github/workflows/ci_build.yml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index cb9a55c48c9..2494dd51585 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -36,7 +36,7 @@ env:
 
 jobs:
   run:
-    if: ${{ !github.event.pull_request || github.event.pull_request.draft == 
false }}
+    if: github.event.pull_request.draft == false
     strategy:
       fail-fast: false
       matrix:
@@ -50,13 +50,10 @@ jobs:
         run: git config --system core.longpaths true
 
       - name: "Checkout @ GitHub default"
-        uses: actions/checkout@v4
-        with:
-          fetch-depth: 0
+        uses: actions/checkout@v3
 
       - name: "Checkout @ Simulated squashed-merge if PR"
         id: checkout_pr
-        if: github.event_name == 'pull_request'
         uses: ./.github/actions/checkout-pr
         with:
           ref: ${{ github.base_ref }}
@@ -89,8 +86,8 @@ jobs:
             --outputPath='/tmp/partitions.json' \
             --tmpPartitionFilterPath='/tmp/partition-filter.txt' \
             --forceFull='${{ !github.event.pull_request }}' \
-            --baseSha='${{ steps.checkout_pr.outputs.base_sha || 
github.event.before }}' \
-            --headSha='${{ steps.checkout_pr.outputs.head_sha || github.sha 
}}' \
+            --baseSha='${{ steps.checkout_pr.outputs.base_sha }}' \
+            --headSha='${{ steps.checkout_pr.outputs.head_sha }}' \
             --graphJsonPath='./repo/graph.json'
 
           npm -g uninstall bun turbo
@@ -198,7 +195,7 @@ jobs:
           eval "pnpm ${{ 
steps.setup_build_mode.outputs.affectedPnpmFilterString }} --if-present 
--workspace-concurrency=1 build:prod"
 
       - name: "Check tests result (`main` only)"
-        if: always() && !cancelled() && steps.setup_build_mode.conclusion == 
'success' && steps.setup_build_mode.outputs.mode != 'none'
+        if: always() && !cancelled() && steps.setup_build_mode.outputs.mode != 
'none'
         uses: actions/github-script@v6
         env:
           KIE_TOOLS_CI__JUNIT_REPORT_RESULTS_PATTERNS: |-


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to