Skip to content

Commit 93d315f

Browse files
authored
Merge pull request #1143 from ecomfe/workflow/fix-lint-diff-file-pattern
fix(workflow): fix match pattern for changed files collection in the lint action
2 parents b50e53b + ed30881 commit 93d315f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Collect changed files
5151
run: |
5252
mkdir ~/tmp/
53-
git diff ${{ github.event.pull_request.base.sha }} ${{ github.sha }} --diff-filter=ACM --name-only --relative '*src/**/*.ts' > ~/tmp/changed_files
53+
git diff ${{ github.event.pull_request.base.sha }} ${{ github.sha }} --diff-filter=ACM --name-only --relative '*src/*.ts' '*src/**/*.ts' > ~/tmp/changed_files
5454
echo -e "Changed files: \n$(cat ~/tmp/changed_files)"
5555
5656
- name: Lint

0 commit comments

Comments
 (0)