From f8240a7b05b14fd2749986d22dd8a065a193c07b Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Fri, 18 Sep 2020 12:02:09 -0700 Subject: [PATCH] fix: typo in prefer typescript (#10959) Prefer TypeScript has stopped working since #10170 because of a [typo](https://github.com/apache/incubator-superset/pull/10170/files#diff-0f1a9bbd1316e385c51f8aba1583bd99R24) in `jq` script. Also fix the `trilom/file-changes-action` GH Action version so the process can be more predictable. --- .github/workflows/prefer-typescript.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prefer-typescript.yml b/.github/workflows/prefer-typescript.yml index d2fff6e4565b..c6bab635590e 100644 --- a/.github/workflows/prefer-typescript.yml +++ b/.github/workflows/prefer-typescript.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Get changed files id: changed - uses: trilom/file-changes-action@master + uses: trilom/file-changes-action@v1.2.4 with: githubToken: ${{ secrets.GITHUB_TOKEN }} @@ -21,7 +21,9 @@ jobs: js_files_added() { jq -r ' map( - select((endswith(".js") or endswith(".jsx")) + select( + endswith(".js") or endswith(".jsx") + ) ) | join("\n") ' ${HOME}/files_added.json }