Skip to content

Commit 0d9a70b

Browse files
committed
Exclude reports from change detection
1 parent 0d5d3d9 commit 0d9a70b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/detectChangedFiles.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
# A second call without this option will be needed for the change detection to work.
1111
# This is helpful to decide if an operation should be done based on changes while waiting for its success to finally save the change state.
1212
# --paths Comma-separated list of file- and directory-names that are used for calculating the hash based on their name and size.
13+
# --hashfile Path to the file that contains the hash for change detection. Default in environment variable CHANGE_DETECTION_HASH_FILE_PATH
1314

1415
# Fail on any error ("-e" = exit on first error, "-o pipefail" exist on errors within piped commands)
1516
set -o errexit -o pipefail
@@ -88,6 +89,7 @@ file_names_and_sizes() {
8889
-type d -name "node_modules" -prune -o \
8990
-type d -name "target" -prune -o \
9091
-type d -name "temp" -prune -o \
92+
-type d -name ".reports" -prune -o \
9193
-not -path "${hashFilePath}" \
9294
-type f \
9395
-exec stat -f "%N %z" {} + \

0 commit comments

Comments
 (0)