diff --git a/.github/workflows/spread-tests.yaml b/.github/workflows/spread-tests.yaml index d20f7f6b3c5..a7be9a4324d 100644 --- a/.github/workflows/spread-tests.yaml +++ b/.github/workflows/spread-tests.yaml @@ -113,11 +113,11 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v41.0.0 + uses: tj-actions/changed-files@v45.0.6 - name: Save changes files run: | - CHANGED_FILES="${{ steps.changed-files.outputs.all_changed_files }}" + CHANGED_FILES="${{ steps.changed-files.outputs.all_modified_files }}" echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV echo "The changed files found are: $CHANGED_FILES" @@ -142,7 +142,7 @@ jobs: # The tests are just filtered when the change is a PR # When 'Run Nested' label is added in a PR, all the nested tests have to be executed TASKS_TO_RUN="" - if [ -z "${{ github.event.number }}" ] || [ "$RUN_NESTED" = 'true' ] || [ -z "${{ inputs.rules }}" ]; then + if [ -z "${{ github.event.number }}" ] || [ "$RUN_NESTED" = 'true' ] || [ -z "${{ inputs.rules }}" ] || [ -z "$changes_param" ]; then for TASKS in ${{ inputs.tasks }}; do TASKS_TO_RUN="$TASKS_TO_RUN $prefix:$TASKS" done