From 88cc5abe79b742263eaa34839e2e42e22ff1680c Mon Sep 17 00:00:00 2001 From: Sushanta Das Date: Fri, 15 Nov 2024 13:25:11 +0530 Subject: [PATCH] fix yamllint and query --- .github/workflows/task-lint.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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} ]] && {