[BUG] file_extensions filter not working correctly
simllll opened this issue · comments
Is there an existing issue for this?
- I have searched the existing issues
Does this issue exist in the latest version?
- I'm using the latest release
Describe the bug?
we are using the file extensions filter (tried with the default values but also with explicit ydefinning it):
file_extensions: |
**/*.ts
**/*.tsx
**/*.js
**/*.vue
but the problem is that json files are still in the file list:
INPUT_CHANGED_FILES: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
To Reproduce
commit a json file ;-)
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04, ubuntu-18.04
Expected behavior?
should exclude json files
Relevant log output
No response
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
@simllll Can you include the entire log output?
2022-05-11T08:39:44.1619300Z HEAD is now at d596f4e Merge 7c15307dd985341bed05f55e9d8771b97b3e9da3 into a54f43570fa2c3fe231edd11e168004118d7a263
2022-05-11T08:39:44.1620323Z ##[endgroup]
2022-05-11T08:39:44.1641888Z [command]/usr/bin/git log -1 --format='%H'
2022-05-11T08:39:44.1674741Z 'd596f4ea8aba937160083b6cc67e32e8757cfdc4'
2022-05-11T08:39:44.1998893Z ##[group]Run actions/setup-node@v2
2022-05-11T08:39:44.1999114Z with:
2022-05-11T08:39:44.1999314Z node-version: 16
2022-05-11T08:39:44.1999524Z always-auth: false
2022-05-11T08:39:44.1999738Z check-latest: false
2022-05-11T08:39:44.2000111Z token: ***
2022-05-11T08:39:44.2000314Z ##[endgroup]
2022-05-11T08:39:44.5043764Z Found in cache @ /opt/hostedtoolcache/node/16.15.0/x64
2022-05-11T08:39:44.5169452Z ##[group]Run mv package.json package.json.bak
2022-05-11T08:39:44.5169835Z �[36;1mmv package.json package.json.bak�[0m
2022-05-11T08:39:44.5170110Z �[36;1mnpm install -g npm@latest�[0m
2022-05-11T08:39:44.5170440Z �[36;1mnpm install @hokify/eslint-config @hokify/eslint-config-vue --no-save�[0m
2022-05-11T08:39:44.5170779Z �[36;1mmv package.json.bak package.json�[0m
2022-05-11T08:39:44.5225841Z shell: /usr/bin/bash -e {0}
2022-05-11T08:39:44.5226101Z ##[endgroup]
2022-05-11T08:39:46.7571152Z
2022-05-11T08:39:46.7579801Z removed 6 packages, changed 69 packages, and audited 202 packages in 2s
2022-05-11T08:39:46.7583361Z
2022-05-11T08:39:46.7586167Z 11 packages are looking for funding
2022-05-11T08:39:46.7588799Z run `npm fund` for details
2022-05-11T08:39:46.7603545Z
2022-05-11T08:39:46.7603889Z found 0 vulnerabilities
2022-05-11T08:39:57.1051026Z npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2022-05-11T08:39:57.1179191Z npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
2022-05-11T08:39:57.3641995Z npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
2022-05-11T08:39:57.3812170Z npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2022-05-11T08:39:59.4725422Z npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
2022-05-11T08:40:02.4811543Z npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
2022-05-11T08:40:02.8274936Z npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated
2022-05-11T08:40:05.8715452Z
2022-05-11T08:40:05.8718193Z added 708 packages, and audited 731 packages in 19s
2022-05-11T08:40:05.8718686Z
2022-05-11T08:40:05.8720250Z 83 packages are looking for funding
2022-05-11T08:40:05.8720682Z run `npm fund` for details
2022-05-11T08:40:05.8823502Z
2022-05-11T08:40:05.8824175Z 5 high severity vulnerabilities
2022-05-11T08:40:05.8828674Z
2022-05-11T08:40:05.8829142Z To address all issues (including breaking changes), run:
2022-05-11T08:40:05.8830208Z npm audit fix --force
2022-05-11T08:40:05.8830398Z
2022-05-11T08:40:05.8830575Z Run `npm audit` for details.
2022-05-11T08:40:05.9094654Z ##[group]Run tj-actions/eslint-changed-files@v11
2022-05-11T08:40:05.9094987Z with:
2022-05-11T08:40:05.9095219Z file_extensions: **/*.ts
**/*.tsx
**/*.js
**/*.vue
2022-05-11T08:40:05.9095450Z extra_args: --quiet
2022-05-11T08:40:05.9095671Z fail_on_error: true
2022-05-11T08:40:05.9095889Z config_path: .eslintrc.js
2022-05-11T08:40:05.9096107Z ignore_path: .eslintignore
2022-05-11T08:40:05.9096522Z token: ***
2022-05-11T08:40:05.9096720Z all_files: false
2022-05-11T08:40:05.9096933Z skip_annotations: false
2022-05-11T08:40:05.9097133Z level: error
2022-05-11T08:40:05.9097353Z reporter: github-pr-review
2022-05-11T08:40:05.9097579Z filter_mode: added
2022-05-11T08:40:05.9097772Z ##[endgroup]
2022-05-11T08:40:05.9339612Z ##[group]Run reviewdog/action-setup@v1
2022-05-11T08:40:05.9339854Z with:
2022-05-11T08:40:05.9340062Z reviewdog_version: v0.14.1
2022-05-11T08:40:05.9340287Z ##[endgroup]
2022-05-11T08:40:05.9367574Z ##[group]Run $GITHUB_ACTION_PATH/install.sh
2022-05-11T08:40:05.9367889Z �[36;1m$GITHUB_ACTION_PATH/install.sh�[0m
2022-05-11T08:40:05.9420361Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:05.9420638Z env:
2022-05-11T08:40:05.9420860Z REVIEWDOG_VERSION: v0.14.1
2022-05-11T08:40:05.9421124Z REVIEWDOG_TEMPDIR: /home/runner/work/_temp
2022-05-11T08:40:05.9421355Z ##[endgroup]
2022-05-11T08:40:05.9527617Z ##[group]🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog
2022-05-11T08:40:05.9882134Z reviewdog/reviewdog info checking GitHub for tag 'v0.14.1'
2022-05-11T08:40:06.0261123Z reviewdog/reviewdog info found version: 0.14.1 for v0.14.1/Linux/x86_64
2022-05-11T08:40:06.3371526Z reviewdog/reviewdog info installed /home/runner/work/_temp/reviewdog/bin/reviewdog
2022-05-11T08:40:06.3421731Z ##[endgroup]
2022-05-11T08:40:06.3455481Z ##[group]Run echo "::group::📖 reviewdog -h"
2022-05-11T08:40:06.3455784Z �[36;1mecho "::group::📖 reviewdog -h"�[0m
2022-05-11T08:40:06.3456049Z �[36;1mreviewdog -h 2>&1 || true�[0m
2022-05-11T08:40:06.3456285Z �[36;1mecho "::endgroup::"�[0m
2022-05-11T08:40:06.3507241Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:06.3507507Z ##[endgroup]
2022-05-11T08:40:06.3581534Z ##[group]📖 reviewdog -h
2022-05-11T08:40:06.3637146Z Usage: reviewdog [flags]
2022-05-11T08:40:06.3637885Z reviewdog accepts any compiler or linter results from stdin and filters
2022-05-11T08:40:06.3638393Z them by diff for review. reviewdog also can posts the results as a comment to
2022-05-11T08:40:06.3638827Z GitHub if you use reviewdog in CI service.
2022-05-11T08:40:06.3639159Z Flags:
2022-05-11T08:40:06.3639663Z -conf string
2022-05-11T08:40:06.3643873Z config file path
2022-05-11T08:40:06.3644314Z -diff string
2022-05-11T08:40:06.3644916Z diff command (e.g. "git diff") for local reporter. Do not use --relative flag for git command.
2022-05-11T08:40:06.3645318Z -efm value
2022-05-11T08:40:06.3646116Z list of supported machine-readable format and errorformat (https://github.com/reviewdog/errorformat)
2022-05-11T08:40:06.3647239Z -f string
2022-05-11T08:40:06.3647962Z format name (run -list to see supported format name) for input. It's also used as tool name in review comment if -name is empty
2022-05-11T08:40:06.3648539Z -f.diff.strip int
2022-05-11T08:40:06.3649160Z option for -f=diff: strip NUM leading components from diff file names (equivalent to 'patch -p') (default is 1 for git diff) (default 1)
2022-05-11T08:40:06.3649559Z -fail-on-error
2022-05-11T08:40:06.3649866Z Returns 1 as exit code if any errors/warnings found in input
2022-05-11T08:40:06.3650180Z -filter-mode value
2022-05-11T08:40:06.3650517Z how to filter checks results. [added, diff_context, file, nofilter].
2022-05-11T08:40:06.3650787Z "added" (default)
2022-05-11T08:40:06.3651062Z Filter by added/modified diff lines.
2022-05-11T08:40:06.3651303Z "diff_context"
2022-05-11T08:40:06.3651710Z Filter by diff context, which can include unchanged lines.
2022-05-11T08:40:06.3652194Z i.e. changed lines +-N lines (e.g. N=3 for default git diff).
2022-05-11T08:40:06.3652459Z "file"
2022-05-11T08:40:06.3652708Z Filter by added/modified file.
2022-05-11T08:40:06.3652927Z "nofilter"
2022-05-11T08:40:06.3653172Z Do not filter any results.
2022-05-11T08:40:06.3653389Z
2022-05-11T08:40:06.3653591Z -guess
2022-05-11T08:40:06.3653879Z guess Pull Request ID by branch name and commit SHA
2022-05-11T08:40:06.3654177Z -level string
2022-05-11T08:40:06.3654681Z report level currently used for github-pr-check reporter ("info","warning","error"). (default "error")
2022-05-11T08:40:06.3655028Z -list
2022-05-11T08:40:06.3655434Z list supported pre-defined format names which can be used as -f arg
2022-05-11T08:40:06.3655751Z -name string
2022-05-11T08:40:06.3656148Z tool name in review comment. -f is used as tool name if -name is empty
2022-05-11T08:40:06.3656465Z -reporter string
2022-05-11T08:40:06.3657084Z reporter of reviewdog results. (local, github-check, github-pr-check, github-pr-review, gitlab-mr-discussion, gitlab-mr-commit)
2022-05-11T08:40:06.3657460Z "local" (default)
2022-05-11T08:40:06.3657712Z Report results to stdout.
2022-05-11T08:40:06.3657923Z
2022-05-11T08:40:06.3658146Z "github-check"
2022-05-11T08:40:06.3658498Z Report results to GitHub Check. It works both for Pull Requests and commits.
2022-05-11T08:40:06.3658917Z For Pull Request, you can see report results in GitHub PullRequest Check
2022-05-11T08:40:06.3659385Z tab and can control filtering mode by -filter-mode flag.
2022-05-11T08:40:06.3659624Z
2022-05-11T08:40:06.3659892Z There are two options to use this reporter.
2022-05-11T08:40:06.3660129Z
2022-05-11T08:40:06.3660431Z Option 1) Run reviewdog from GitHub Actions w/ secrets.GITHUB_TOKEN
2022-05-11T08:40:06.3660836Z Note that it reports result to GitHub Actions log console for Pull
2022-05-11T08:40:06.3661233Z Requests from fork repository due to GitHub Actions restriction.
2022-05-11T08:40:06.3661845Z https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
2022-05-11T08:40:06.3662208Z
2022-05-11T08:40:06.3662516Z Set REVIEWDOG_GITHUB_API_TOKEN with secrets.GITHUB_TOKEN. e.g.
2022-05-11T08:40:06.3662895Z REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-05-11T08:40:06.3663132Z
2022-05-11T08:40:06.3663390Z Option 2) Install reviewdog GitHub Apps
2022-05-11T08:40:06.3663758Z 1. Install reviewdog Apps. https://github.com/apps/reviewdog
2022-05-11T08:40:06.3664148Z 2. Set REVIEWDOG_TOKEN or run reviewdog CLI in trusted CI providers.
2022-05-11T08:40:06.3664669Z You can get token from https://reviewdog.app/gh/<owner>/<repo-name>.
2022-05-11T08:40:06.3665020Z $ export REVIEWDOG_TOKEN="xxxxx"
2022-05-11T08:40:06.3665244Z
2022-05-11T08:40:06.3665542Z Note: Token is not required if you run reviewdog in Travis CI.
2022-05-11T08:40:06.3665801Z
2022-05-11T08:40:06.3666056Z "github-pr-check"
2022-05-11T08:40:06.3666472Z Same as github-check reporter but it only supports Pull Requests.
2022-05-11T08:40:06.3666831Z
2022-05-11T08:40:06.3667095Z "github-pr-review"
2022-05-11T08:40:06.3667375Z Report results to GitHub review comments.
2022-05-11T08:40:06.3667604Z
2022-05-11T08:40:06.3667896Z 1. Set REVIEWDOG_GITHUB_API_TOKEN environment variable.
2022-05-11T08:40:06.3668328Z Go to https://github.com/settings/tokens and create new Personal access token with repo scope.
2022-05-11T08:40:06.3668635Z
2022-05-11T08:40:06.3668839Z For GitHub Enterprise:
2022-05-11T08:40:06.3669218Z $ export GITHUB_API="https://example.githubenterprise.com/api/v3"
2022-05-11T08:40:06.3669495Z
2022-05-11T08:40:06.3669774Z "gitlab-mr-discussion"
2022-05-11T08:40:06.3670228Z Report results to GitLab MergeRequest discussion.
2022-05-11T08:40:06.3670467Z
2022-05-11T08:40:06.3670755Z 1. Set REVIEWDOG_GITLAB_API_TOKEN environment variable.
2022-05-11T08:40:06.3671130Z Go to https://gitlab.com/profile/personal_access_tokens
2022-05-11T08:40:06.3671382Z
2022-05-11T08:40:06.3671725Z CI_API_V4_URL (defined by Gitlab CI) as the base URL for the Gitlab API automatically.
2022-05-11T08:40:06.3672191Z Alternatively, GITLAB_API can also be defined, and it will take precedence over the former:
2022-05-11T08:40:06.3672618Z $ export GITLAB_API="https://example.gitlab.com/api/v4"
2022-05-11T08:40:06.3672873Z
2022-05-11T08:40:06.3673143Z "gitlab-mr-commit"
2022-05-11T08:40:06.3673609Z Same as gitlab-mr-discussion, but report results to GitLab comments for
2022-05-11T08:40:06.3673940Z each commits in Merge Requests.
2022-05-11T08:40:06.3674157Z
2022-05-11T08:40:06.3674601Z "gerrit-change-review"
2022-05-11T08:40:06.3674895Z Report results to Gerrit Change comments.
2022-05-11T08:40:06.3675130Z
2022-05-11T08:40:06.3675448Z 1. Set GERRIT_USERNAME and GERRIT_PASSWORD for basic authentication or
2022-05-11T08:40:06.3675842Z GIT_GITCOOKIE_PATH for git cookie based authentication.
2022-05-11T08:40:06.3676236Z 2. Set GERRIT_CHANGE_ID, GERRIT_REVISION_ID GERRIT_BRANCH abd GERRIT_ADDRESS
2022-05-11T08:40:06.3676508Z
2022-05-11T08:40:06.3676696Z For example:
2022-05-11T08:40:06.3677009Z $ export GERRIT_CHANGE_ID=myproject~master~I1293efab014de2
2022-05-11T08:40:06.3677345Z $ export GERRIT_REVISION_ID=ed318bf9a3c
2022-05-11T08:40:06.3677631Z $ export GERRIT_BRANCH=master
2022-05-11T08:40:06.3677951Z $ export GERRIT_ADDRESS=http://localhost:8080
2022-05-11T08:40:06.3678201Z
2022-05-11T08:40:06.3678479Z "bitbucket-code-report"
2022-05-11T08:40:06.3678785Z Create Bitbucket Code Report via Code Insights
2022-05-11T08:40:06.3679196Z (https://confluence.atlassian.com/display/BITBUCKET/Code+insights).
2022-05-11T08:40:06.3679571Z You can set custom report name with:
2022-05-11T08:40:06.3679793Z
2022-05-11T08:40:06.3680127Z If running as part of Bitbucket Pipelines no additional configurations is needed.
2022-05-11T08:40:06.3680576Z If running outside of Bitbucket Pipelines you need to provide git repo data
2022-05-11T08:40:06.3680999Z (see documentation below for local reporters) and BitBucket credentials:
2022-05-11T08:40:06.3681464Z - For Basic Auth you need to set following env variables:
2022-05-11T08:40:06.3681799Z BITBUCKET_USER and BITBUCKET_PASSWORD
2022-05-11T08:40:06.3682241Z - For AccessToken Auth you need to set BITBUCKET_ACCESS_TOKEN
2022-05-11T08:40:06.3682502Z
2022-05-11T08:40:06.3682799Z To post results to Bitbucket Server specify BITBUCKET_SERVER_URL.
2022-05-11T08:40:06.3683061Z
2022-05-11T08:40:06.3683341Z For GitHub Enterprise and self hosted GitLab, set
2022-05-11T08:40:06.3683751Z REVIEWDOG_INSECURE_SKIP_VERIFY to skip verifying SSL (please use this at your own risk)
2022-05-11T08:40:06.3684133Z $ export REVIEWDOG_INSECURE_SKIP_VERIFY=true
2022-05-11T08:40:06.3684484Z
2022-05-11T08:40:06.3684906Z For non-local reporters, reviewdog automatically get necessary data from
2022-05-11T08:40:06.3685414Z environment variable in CI service (GitHub Actions, Travis CI, Circle CI, drone.io, GitLab CI, Bitbucket Pipelines).
2022-05-11T08:40:06.3685905Z You can set necessary data with following environment variable manually if
2022-05-11T08:40:06.3686262Z you want (e.g. run reviewdog in Jenkins).
2022-05-11T08:40:06.3686507Z
2022-05-11T08:40:06.3686801Z $ export CI_PULL_REQUEST=14 # Pull Request number (e.g. 14)
2022-05-11T08:40:06.3687292Z $ export CI_COMMIT="$(git rev-parse @)" # SHA1 for the current build
2022-05-11T08:40:06.3687661Z $ export CI_REPO_OWNER="haya14busa" # repository owner
2022-05-11T08:40:06.3688075Z $ export CI_REPO_NAME="reviewdog" # repository name
2022-05-11T08:40:06.3688340Z (default "local")
2022-05-11T08:40:06.3688596Z -runners string
2022-05-11T08:40:06.3688928Z comma separated runners name to run in config file. default: run all runners
2022-05-11T08:40:06.3689247Z -strip int
2022-05-11T08:40:06.3689787Z strip NUM leading components from diff file names (equivalent to 'patch -p') (default is 1 for git diff) (default 1)
2022-05-11T08:40:06.3690135Z -tee
2022-05-11T08:40:06.3690679Z enable "tee"-like mode which outputs tools's output as is while reporting results to -reporter. Useful for debugging as well.
2022-05-11T08:40:06.3691048Z -version
2022-05-11T08:40:06.3691246Z print version
2022-05-11T08:40:06.3691377Z
2022-05-11T08:40:06.3691651Z See https://github.com/reviewdog/reviewdog for more detail.
2022-05-11T08:40:06.3692199Z ##[endgroup]
2022-05-11T08:40:06.3821826Z ##[group]Run tj-actions/changed-files@v19
2022-05-11T08:40:06.3822170Z with:
2022-05-11T08:40:06.3822461Z files: **/*.ts
**/*.tsx
**/*.js
**/*.vue
2022-05-11T08:40:06.3822817Z files_ignore_from_source_file: .eslintignore
2022-05-11T08:40:06.3823290Z token: ***
2022-05-11T08:40:06.3823528Z separator:
2022-05-11T08:40:06.3823848Z files_separator:
2022-05-11T08:40:06.3824157Z files_ignore_separator:
2022-05-11T08:40:06.3824440Z sha: d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:06.3824771Z since_last_remote_commit: false
2022-05-11T08:40:06.3825164Z use_fork_point: false
2022-05-11T08:40:06.3825400Z quotepath: true
2022-05-11T08:40:06.3825688Z ##[endgroup]
2022-05-11T08:40:06.3937383Z ##[group]Run # "Set base sha..."
2022-05-11T08:40:06.3937663Z �[36;1m# "Set base sha..."�[0m
2022-05-11T08:40:06.3937896Z �[36;1mif [[ -n "" ]]; then�[0m
2022-05-11T08:40:06.3938133Z �[36;1m echo "::set-output name=base_sha::"�[0m
2022-05-11T08:40:06.3938496Z �[36;1melif [[ "false" == "true" && "e95f5be5b97eaaf4a59d373011e6e77eb50c1e80" != "0000000000000000000000000000000000000000" ]]; then�[0m
2022-05-11T08:40:06.3938908Z �[36;1m echo "::set-output name=base_sha::e95f5be5b97eaaf4a59d373011e6e77eb50c1e80"�[0m
2022-05-11T08:40:06.3939202Z �[36;1mfi�[0m
2022-05-11T08:40:06.3988508Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:06.3988793Z ##[endgroup]
2022-05-11T08:40:06.4089793Z ##[group]Run # "Calculating the previous and current SHA..."
2022-05-11T08:40:06.4090167Z �[36;1m# "Calculating the previous and current SHA..."�[0m
2022-05-11T08:40:06.4090452Z �[36;1mbash $GITHUB_ACTION_PATH/diff-sha.sh�[0m
2022-05-11T08:40:06.4135748Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:06.4136000Z env:
2022-05-11T08:40:06.4136235Z GITHUB_SERVER_URL: https://github.com
2022-05-11T08:40:06.4136526Z GITHUB_REPOSITORY: hokify/hokify-frontend
2022-05-11T08:40:06.4136772Z GITHUB_BASE_REF: master
2022-05-11T08:40:06.4137006Z GITHUB_HEAD_REF: fix/beginDate
2022-05-11T08:40:06.4137325Z GITHUB_ACTION_PATH: /home/runner/work/_actions/tj-actions/changed-files/v19
2022-05-11T08:40:06.4137663Z INPUT_SHA: d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:06.4137904Z INPUT_BASE_SHA:
2022-05-11T08:40:06.4138354Z INPUT_TOKEN: ***
2022-05-11T08:40:06.4138680Z INPUT_PATH:
2022-05-11T08:40:06.4138890Z INPUT_USE_FORK_POINT: false
2022-05-11T08:40:06.4139114Z ##[endgroup]
2022-05-11T08:40:06.4224433Z ##[group]changed-files-diff-sha
2022-05-11T08:40:06.4226008Z Resolving repository path...
2022-05-11T08:40:06.4253855Z Setting up 'temp_changed_files' remote...
2022-05-11T08:40:06.4295383Z No 'temp_changed_files' remote found
2022-05-11T08:40:06.4296052Z Creating 'temp_changed_files' remote...
2022-05-11T08:40:06.4376539Z Getting HEAD SHA...
2022-05-11T08:40:06.8158162Z remote: Enumerating objects: 31, done.
2022-05-11T08:40:06.8164672Z remote: Counting objects: 3% (1/31)
2022-05-11T08:40:06.8165242Z remote: Counting objects: 6% (2/31)
2022-05-11T08:40:06.8166024Z remote: Counting objects: 9% (3/31)
2022-05-11T08:40:06.8166517Z remote: Counting objects: 12% (4/31)
2022-05-11T08:40:06.8167047Z remote: Counting objects: 16% (5/31)
2022-05-11T08:40:06.8167590Z remote: Counting objects: 19% (6/31)
2022-05-11T08:40:06.8168079Z remote: Counting objects: 22% (7/31)
2022-05-11T08:40:06.8168543Z remote: Counting objects: 25% (8/31)
2022-05-11T08:40:06.8169007Z remote: Counting objects: 29% (9/31)
2022-05-11T08:40:06.8169474Z remote: Counting objects: 32% (10/31)
2022-05-11T08:40:06.8170010Z remote: Counting objects: 35% (11/31)
2022-05-11T08:40:06.8170421Z remote: Counting objects: 38% (12/31)
2022-05-11T08:40:06.8170829Z remote: Counting objects: 41% (13/31)
2022-05-11T08:40:06.8171234Z remote: Counting objects: 45% (14/31)
2022-05-11T08:40:06.8171643Z remote: Counting objects: 48% (15/31)
2022-05-11T08:40:06.8172057Z remote: Counting objects: 51% (16/31)
2022-05-11T08:40:06.8172468Z remote: Counting objects: 54% (17/31)
2022-05-11T08:40:06.8172874Z remote: Counting objects: 58% (18/31)
2022-05-11T08:40:06.8173283Z remote: Counting objects: 61% (19/31)
2022-05-11T08:40:06.8173695Z remote: Counting objects: 64% (20/31)
2022-05-11T08:40:06.8174138Z remote: Counting objects: 67% (21/31)
2022-05-11T08:40:06.8182118Z remote: Counting objects: 70% (22/31)
2022-05-11T08:40:06.8183068Z remote: Counting objects: 74% (23/31)
2022-05-11T08:40:06.8183496Z remote: Counting objects: 77% (24/31)
2022-05-11T08:40:06.8183912Z remote: Counting objects: 80% (25/31)
2022-05-11T08:40:06.8184308Z remote: Counting objects: 83% (26/31)
2022-05-11T08:40:06.8184720Z remote: Counting objects: 87% (27/31)
2022-05-11T08:40:06.8185126Z remote: Counting objects: 90% (28/31)
2022-05-11T08:40:06.8185531Z remote: Counting objects: 93% (29/31)
2022-05-11T08:40:06.8185945Z remote: Counting objects: 96% (30/31)
2022-05-11T08:40:06.8186351Z remote: Counting objects: 100% (31/31)
2022-05-11T08:40:06.8186769Z remote: Counting objects: 100% (31/31), done.
2022-05-11T08:40:06.8187223Z remote: Compressing objects: 6% (1/15)
2022-05-11T08:40:06.8187665Z remote: Compressing objects: 13% (2/15)
2022-05-11T08:40:06.8188090Z remote: Compressing objects: 20% (3/15)
2022-05-11T08:40:06.8188513Z remote: Compressing objects: 26% (4/15)
2022-05-11T08:40:06.8188923Z remote: Compressing objects: 33% (5/15)
2022-05-11T08:40:06.8189347Z remote: Compressing objects: 40% (6/15)
2022-05-11T08:40:06.8189763Z remote: Compressing objects: 46% (7/15)
2022-05-11T08:40:06.8190185Z remote: Compressing objects: 53% (8/15)
2022-05-11T08:40:06.8190605Z remote: Compressing objects: 60% (9/15)
2022-05-11T08:40:06.8191171Z remote: Compressing objects: 66% (10/15)
2022-05-11T08:40:06.8191609Z remote: Compressing objects: 73% (11/15)
2022-05-11T08:40:06.8192247Z remote: Compressing objects: 80% (12/15)
2022-05-11T08:40:06.8192674Z remote: Compressing objects: 86% (13/15)
2022-05-11T08:40:06.8193103Z remote: Compressing objects: 93% (14/15)
2022-05-11T08:40:06.8193741Z remote: Compressing objects: 100% (15/15)
2022-05-11T08:40:06.8194191Z remote: Compressing objects: 100% (15/15), done.
2022-05-11T08:40:06.8243198Z remote: Total 16 (delta 13), reused 2 (delta 0), pack-reused 0
2022-05-11T08:40:06.8303165Z From https://github.com/hokify/hokify-frontend
2022-05-11T08:40:06.8303853Z * [new branch] master -> master
2022-05-11T08:40:06.8304443Z * [new branch] master -> temp_changed_files/master
2022-05-11T08:40:06.8347493Z Verifying commit SHA...
2022-05-11T08:40:06.8389851Z ##[endgroup]
2022-05-11T08:40:06.8429979Z ##[group]Run tj-actions/glob@v7.16
2022-05-11T08:40:06.8430206Z with:
2022-05-11T08:40:06.8430522Z files: **/*.ts
**/*.tsx
**/*.js
**/*.vue
2022-05-11T08:40:06.8430762Z files-separator:
2022-05-11T08:40:06.8430972Z escape-paths: true
2022-05-11T08:40:06.8431217Z excluded-files-separator:
2022-05-11T08:40:06.8431518Z excluded-files-from-source-file: .eslintignore
2022-05-11T08:40:06.8431822Z base-sha: a54f43570fa2c3fe231edd11e168004118d7a263
2022-05-11T08:40:06.8432109Z sha: d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:06.8432376Z include-deleted-files: true
2022-05-11T08:40:06.8432598Z separator: |
2022-05-11T08:40:06.8432851Z files-from-source-file-separator:
2022-05-11T08:40:06.8433184Z excluded-files-from-source-file-separator:
2022-05-11T08:40:06.8433474Z follow-symbolic-links: true
2022-05-11T08:40:06.8433723Z strip-top-level-dir: true
2022-05-11T08:40:06.8433949Z ##[endgroup]
2022-05-11T08:40:10.0015768Z [command]/usr/bin/git rev-parse --show-toplevel
2022-05-11T08:40:10.0074997Z /home/runner/work/hokify-frontend/hokify-frontend
2022-05-11T08:40:10.0102689Z [command]/usr/bin/git diff --diff-filter=D --name-only a54f43570fa2c3fe231edd11e168004118d7a263 d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:10.0161027Z
2022-05-11T08:40:10.0199482Z ##[warning]No match found for specified patterns. Ensure that subdirectory patterns a prefixed with "**/". See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
2022-05-11T08:40:10.0306335Z ##[group]Run bash $GITHUB_ACTION_PATH/entrypoint.sh
2022-05-11T08:40:10.0306654Z �[36;1mbash $GITHUB_ACTION_PATH/entrypoint.sh�[0m
2022-05-11T08:40:10.0357121Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:10.0357383Z env:
2022-05-11T08:40:10.0357671Z GITHUB_ACTION_PATH: /home/runner/work/_actions/tj-actions/changed-files/v19
2022-05-11T08:40:10.0357970Z INPUT_FILES_PATTERN_FILE:
2022-05-11T08:40:10.0358203Z INPUT_SEPARATOR:
2022-05-11T08:40:10.0358419Z INPUT_PATH:
2022-05-11T08:40:10.0358678Z INPUT_PREVIOUS_SHA: a54f43570fa2c3fe231edd11e168004118d7a263
2022-05-11T08:40:10.0359010Z INPUT_CURRENT_SHA: d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:10.0359287Z INPUT_TARGET_BRANCH: master
2022-05-11T08:40:10.0359520Z INPUT_CURRENT_BRANCH: fix/beginDate
2022-05-11T08:40:10.0359768Z INPUT_QUOTEPATH: true
2022-05-11T08:40:10.0359981Z ##[endgroup]
2022-05-11T08:40:10.0472951Z ##[group]changed-files
2022-05-11T08:40:10.0473315Z Resolving repository path...
2022-05-11T08:40:10.0476842Z Retrieving changes between a54f43570fa2c3fe231edd11e168004118d7a263 (master) → d596f4ea8aba937160083b6cc67e32e8757cfdc4 (fix/beginDate)
2022-05-11T08:40:10.0477263Z Getting diff...
2022-05-11T08:40:10.3462599Z Added files:
2022-05-11T08:40:10.3463241Z Copied files:
2022-05-11T08:40:10.3464208Z Deleted files:
2022-05-11T08:40:10.3465373Z Modified files: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
2022-05-11T08:40:10.3465956Z Renamed files:
2022-05-11T08:40:10.3473639Z Type Changed files:
2022-05-11T08:40:10.3474457Z Unmerged files:
2022-05-11T08:40:10.3475783Z Unknown files:
2022-05-11T08:40:10.3476742Z All changed and modified files: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
2022-05-11T08:40:10.3477951Z All changed files: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
2022-05-11T08:40:10.3478899Z All modified files: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
2022-05-11T08:40:10.3483026Z ##[endgroup]
2022-05-11T08:40:10.3584586Z ##[group]Run # Run eslint on changed files
2022-05-11T08:40:10.3584886Z �[36;1m# Run eslint on changed files�[0m
2022-05-11T08:40:10.3585155Z �[36;1mbash $GITHUB_ACTION_PATH/entrypoint.sh�[0m
2022-05-11T08:40:10.3637109Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-05-11T08:40:10.3637505Z env:
2022-05-11T08:40:10.3637750Z GITHUB_SERVER_URL: https://github.com
2022-05-11T08:40:10.3638043Z GITHUB_REPOSITORY: hokify/hokify-frontend
2022-05-11T08:40:10.3638293Z GITHUB_BASE_REF: master
2022-05-11T08:40:10.3638543Z GITHUB_HEAD_REF: fix/beginDate
2022-05-11T08:40:10.3638825Z GITHUB_SHA: d596f4ea8aba937160083b6cc67e32e8757cfdc4
2022-05-11T08:40:10.3639568Z INPUT_TOKEN: ***
2022-05-11T08:40:10.3639773Z INPUT_LEVEL: error
2022-05-11T08:40:10.3639998Z INPUT_ALL_FILES: false
2022-05-11T08:40:10.3640236Z INPUT_CONFIG_PATH: .eslintrc.js
2022-05-11T08:40:10.3640476Z INPUT_IGNORE_PATH: .eslintignore
2022-05-11T08:40:10.3640913Z INPUT_CHANGED_FILES: .github/workflows/lint.yml apps/user-app/src/components/user/interviewAnswer/InterviewAnswerDate.vue packages/pwa-core/locales/de.json
2022-05-11T08:40:10.3641325Z INPUT_EXTRA_ARGS: --quiet
2022-05-11T08:40:10.3641554Z INPUT_FILTER_MODE: added
2022-05-11T08:40:10.3641766Z INPUT_FAIL_ON_ERROR: true
2022-05-11T08:40:10.3642020Z INPUT_REPORTER: github-pr-review
2022-05-11T08:40:10.3642274Z INPUT_SKIP_ANNOTATIONS: false
2022-05-11T08:40:10.3642483Z ##[endgroup]
2022-05-11T08:40:10.3734042Z ##[group]eslint-changed-files
2022-05-11T08:40:13.8526690Z (node:2318) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./src/" in the "exports" field module resolution of the package at /home/runner/work/hokify-frontend/hokify-frontend/node_modules/ramda/package.json.
2022-05-11T08:40:13.8527724Z Update this package.json to use a subpath pattern like "./src/*".
2022-05-11T08:40:13.8529008Z (Use `node --trace-deprecation ...` to show where the warning was created)
2022-05-11T08:40:14.7331788Z {"ruleId":"@typescript-eslint/no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":1,"column":1,"nodeType":"ExpressionStatement","messageId":"unusedExpression","endLine":301,"endColumn":2}
2022-05-11T08:40:14.8264274Z reviewdog: input data has violations
2022-05-11T08:40:14.8271572Z ##[error][eslint] reported by reviewdog 🐶
Expected an assignment or function call and instead saw an expression.
Raw Output:
{"ruleId":"@typescript-eslint/no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":1,"column":1,"nodeType":"ExpressionStatement","messageId":"unusedExpression","endLine":301,"endColumn":2}
2022-05-11T08:40:14.8289073Z ##[endgroup]
2022-05-11T08:40:14.8294568Z ##[warning]Error running eslint.
2022-05-11T08:40:14.8297866Z ##[error]Process completed with exit code 1.
2022-05-11T08:40:14.8363435Z Post job cleanup.
2022-05-11T08:40:14.8464411Z Post job cleanup.
2022-05-11T08:40:14.8499393Z Post job cleanup.
2022-05-11T08:40:14.9022737Z Post job cleanup.
2022-05-11T08:40:15.0264964Z [command]/usr/bin/git version
2022-05-11T08:40:15.0323846Z git version 2.36.0
2022-05-11T08:40:15.0365634Z Copying '/home/runner/.gitconfig' to '/home/runner/work/_temp/5b41d1d7-8eab-4f4d-80e3-2a63d0091ce9/.gitconfig'
2022-05-11T08:40:15.0377488Z Temporarily overriding HOME='/home/runner/work/_temp/5b41d1d7-8eab-4f4d-80e3-2a63d0091ce9' before making global git config changes
2022-05-11T08:40:15.0378545Z Adding repository directory to the temporary git global config as a safe directory
2022-05-11T08:40:15.0383759Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/hokify-frontend/hokify-frontend
2022-05-11T08:40:15.0431927Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-05-11T08:40:15.0509059Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-05-11T08:40:15.0756421Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-05-11T08:40:15.0786048Z http.https://github.com/.extraheader
2022-05-11T08:40:15.0798839Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-05-11T08:40:15.0837248Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-05-11T08:40:15.1315696Z Cleaning up orphan processes
@simllll Giving that these same patterns are used in the test as seen here.
I’ll recommend creating a minimal test application that replicates this error.
I’ll also highlight that there are some errors in the logs as seen here
2022-05-11T08:40:13.8526690Z (node:2318) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./src/" in the "exports" field module resolution of the package at /home/runner/work/hokify-frontend/hokify-frontend/node_modules/ramda/package.json.
2022-05-11T08:40:13.8527724Z Update this package.json to use a subpath pattern like "./src/*".
2022-05-11T08:40:13.8529008Z (Use `node --trace-deprecation ...` to show where the warning was created)
2022-05-11T08:40:14.7331788Z {"ruleId":"@typescript-eslint/no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":1,"column":1,"nodeType":"ExpressionStatement","messageId":"unusedExpression","endLine":301,"endColumn":2}
2022-05-11T08:40:14.8264274Z reviewdog: input data has violations
2022-05-11T08:40:14.8271572Z ##[error][eslint] reported by reviewdog 🐶
Expected an assignment or function call and instead saw an expression.
Closing this issue for now which appears to be a user error and would reopen if there’s a public repository that replicates the error.