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 348274ba try cli #6
348274ba is described below

commit 348274bae650e489d7aa2d3ebb928ef9d18cb541
Author: jstastny-cz <[email protected]>
AuthorDate: Wed Mar 26 11:38:27 2025 +0100

    try cli #6
---
 .ci/actions/build-chain/action.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.ci/actions/build-chain/action.yml 
b/.ci/actions/build-chain/action.yml
index c7009551..42f1c86e 100644
--- a/.ci/actions/build-chain/action.yml
+++ b/.ci/actions/build-chain/action.yml
@@ -15,7 +15,6 @@ inputs:
   starting-project:
     description: "the project to start flow from. By default is the project 
triggering the job"
     required: false
-    default: ${{ env.GITHUB_REPOSITORY }}
   logger-level:
     description: "the log level. 'info' (default) | 'trace' | 'debug'"
     default: "info"
@@ -42,7 +41,7 @@ runs:
         build-chain build ${{ inputs.flow-type }} \
           --token ${{ inputs.github-token }} \
           -f ${{ inputs.definition-file }} \
-          -p ${{ inputs.starting-project }} \
+          -p [[ -n ${{ inputs.starting-project }} ]] && ${{ 
inputs.starting-project }} || ${{ env.GITHUB_REPOSITORY }}  \
           -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