From 7aca95126102d3751b43b4c004791baad76e97ec Mon Sep 17 00:00:00 2001 From: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:30:38 +0530 Subject: [PATCH] fix workflows failing of TS and lint --- .github/workflows/pull-request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 18f273adc1..4060a313de 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -56,9 +56,9 @@ jobs: run: npm run typecheck - name: Check for linting errors in modified files - if: steps.changed-files.outputs.only_changed != 'true' + if: steps.changed_files.outputs.only_changed != 'true' env: - CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + CHANGED_FILES: ${{ steps.changed_files.outputs.all_changed_files }} run: npx eslint ${CHANGED_FILES} && python .github/workflows/eslint_disable_check.py - name: Check for TSDoc comments @@ -212,7 +212,7 @@ jobs: - name: TypeScript compilation for changed files run: | - for file in ${{ steps.changed-files.outputs.all_changed_files }}; do + for file in ${{ steps.changed-files.outputs.all_files }}; do if [[ "$file" == *.ts || "$file" == *.tsx ]]; then npx tsc --noEmit "$file" fi