Use changed files in check-files workflow (#16993)
We hit a limit when too many files were changing. Most commonly the case will be moving too many files that's why we amend this. --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Tasos Katsoulas committed
Feb 12, 2024 at 11:59 UTC
94f533f758a52a567879fca76dd43f165db184d2
4 files changed
+20
-16
.github/workflows/build.yml
+5
-4
@@ -65,12 +65,13 @@ jobs:
65
files_ignore: |
66
netdata.spec.in
67
**/*.md
68
- - name: List all modified files in pattern
68
+ - name: List all changed files in pattern
69
+ continue-on-error: true
70
env:
70
- ALL_MODIFIED_FILES: ${{ steps.check-files.outputs.all_modified_files }}
71
+ ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
72
run: |
72
- for file in ${ALL_MODIFIED_FILES}; do
73
- echo "$file was modified"
73
+ for file in ${ALL_CHANGED_FILES}; do
74
+ echo "$file was changed"
75
done
76
- name: Check Run
77
id: check-run
.github/workflows/checks.yml
+5
-4
@@ -53,12 +53,13 @@ jobs:
53
files_ignore: |
54
netdata.spec.in
55
**/*.md
56
- - name: List all modified files in pattern
56
+ - name: List all changed files in pattern
57
+ continue-on-error: true
58
env:
58
- ALL_MODIFIED_FILES: ${{ steps.check-files.outputs.all_modified_files }}
59
+ ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
60
run: |
60
- for file in ${ALL_MODIFIED_FILES}; do
61
- echo "$file was modified"
61
+ for file in ${ALL_CHANGED_FILES}; do
62
+ echo "$file was changed"
63
done
64
- name: Check Run
65
id: check-run
.github/workflows/docker.yml
+5
-4
@@ -59,12 +59,13 @@ jobs:
59
files_ignore: |
60
netdata.spec.in
61
**/*.md
62
- - name: List all modified files in pattern
62
+ - name: List all changed files in pattern
63
+ continue-on-error: true
64
env:
64
- ALL_MODIFIED_FILES: ${{ steps.check-files.outputs.all_modified_files }}
65
+ ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
66
run: |
66
- for file in ${ALL_MODIFIED_FILES}; do
67
- echo "$file was modified"
67
+ for file in ${ALL_CHANGED_FILES}; do
68
+ echo "$file was changed"
69
done
70
- name: Check Run
71
id: check-run
.github/workflows/packaging.yml
+5
-4
@@ -68,12 +68,13 @@ jobs:
68
web/server/h2o/libh2o/
69
files_ignore: |
70
**/*.md
71
- - name: List all modified files in pattern
71
+ - name: List all changed files in pattern
72
+ continue-on-error: true
73
env:
73
- ALL_MODIFIED_FILES: ${{ steps.check-files.outputs.all_modified_files }}
74
+ ALL_CHANGED_FILES: ${{ steps.check-files.outputs.all_changed_files }}
75
run: |
75
- for file in ${ALL_MODIFIED_FILES}; do
76
- echo "$file was modified"
76
+ for file in ${ALL_CHANGED_FILES}; do
77
+ echo "$file was changed"
78
done
79
- name: Check Run
80
id: check-run