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

jstastnycz pushed a commit to branch try-nodejs-env-change
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/try-nodejs-env-change by this 
push:
     new 160d990b try cli #7
160d990b is described below

commit 160d990bb876aa75f8214b91fd1ee2eccfb87063
Author: jstastny-cz <[email protected]>
AuthorDate: Wed Mar 26 11:51:50 2025 +0100

    try cli #7
---
 .ci/actions/build-chain/action.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/actions/build-chain/action.yml 
b/.ci/actions/build-chain/action.yml
index 42f1c86e..60336f56 100644
--- a/.ci/actions/build-chain/action.yml
+++ b/.ci/actions/build-chain/action.yml
@@ -37,11 +37,12 @@ runs:
       with:
         node-version: 16
     - run: |
+        REPO_NAME=${{ github.event.pull_request.base.repo.full_name }}
         npm install -g @kie/[email protected]
         build-chain build ${{ inputs.flow-type }} \
           --token ${{ inputs.github-token }} \
           -f ${{ inputs.definition-file }} \
-          -p [[ -n ${{ inputs.starting-project }} ]] && ${{ 
inputs.starting-project }} || ${{ env.GITHUB_REPOSITORY }}  \
+          -p ${{ inputs.starting-project || $REPO_NAME }} \
           -u ${{ github.event.pull_request.html_url}} \
           -o ${{ env.GITHUB_WORKSPACE }} \
           ${{ inputs.additional-flags }} \


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

Reply via email to