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.
This commit is contained in:
Jesse Yang 2020-09-18 12:02:09 -07:00 committed by GitHub
parent ccfd293227
commit 4f607371e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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
}