This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch workflow/fix-lint-diff-file-pattern in repository https://gitbox.apache.org/repos/asf/echarts.git
commit cb2d46dce618b635fa6c8cec95295b3a3545714e Author: Zhongxiang Wang <[email protected]> AuthorDate: Fri Nov 7 23:27:32 2025 +0800 fix(workflow): fix match pattern for changed files collection in the lint action --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15bb470e2..71e6d84fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: - name: Collect changed files run: | mkdir ~/tmp/ - git diff ${{ github.event.pull_request.base.sha }} ${{ github.sha }} --diff-filter=ACM --name-only --relative '*src/**/*.ts' > ~/tmp/changed_files + git diff ${{ github.event.pull_request.base.sha }} ${{ github.sha }} --diff-filter=ACM --name-only --relative '*src/*.ts' '*src/**/*.ts' > ~/tmp/changed_files echo -e "Changed files: \n$(cat ~/tmp/changed_files)" - name: Lint --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
