diff --git a/.github/workflows/task-lint.yaml b/.github/workflows/task-lint.yaml index 7a4f2bec21..fae3f4c011 100644 --- a/.github/workflows/task-lint.yaml +++ b/.github/workflows/task-lint.yaml @@ -13,8 +13,8 @@ jobs: with: # Avoid using single or double quotes for multiline patterns files: | - task/*/*/*.yaml - + task/** + - name: Setup Go if: steps.changed-files.outputs.any_changed == 'true' uses: actions/setup-go@v5 @@ -44,8 +44,7 @@ jobs: fi tektor validate ${task} done - } - + } # Validate task yamls using tektor linter tasks_changed=$(print_changed_tasks_to_console) [[ ! -z ${tasks_changed} ]] && {