From c423b62305aa1e15e74125471f56826c4f2ed20c Mon Sep 17 00:00:00 2001 From: NiniOak Date: Tue, 22 Aug 2023 16:25:22 -0700 Subject: [PATCH] clean up PR --- .github/scripts/filter_changed_files_go_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/filter_changed_files_go_test.sh b/.github/scripts/filter_changed_files_go_test.sh index 2050f2f3a8d6..efd4955293b6 100755 --- a/.github/scripts/filter_changed_files_go_test.sh +++ b/.github/scripts/filter_changed_files_go_test.sh @@ -4,7 +4,7 @@ files_to_check=$(git diff --name-only origin/$GITHUB_BASE_REF) # Define the directories to check -skipped_directories=("docs/" "ui/" "website/" "grafana/" ".github/") +skipped_directories=("docs/" "ui/" "website/" "grafana/") # Initialize a variable to track directories outside the skipped ones other_directories="" @@ -22,12 +22,12 @@ for file_to_check in $files_to_check; do if [ "$file_is_skipped" = "false" ]; then other_directories+="$(dirname "$file_to_check")\n" trigger_ci=true - echo "One or more non doc file(s) changed: true" + echo "One or more non doc file(s) changed: $trigger_ci" echo -e $other_directories echo "trigger-ci=$trigger_ci" >> "$GITHUB_OUTPUT" exit 0 ## if file is outside of the skipped_directory exit loop fi done -echo "One or more non doc file(s) changed: false" +echo "One or more non doc file(s) changed: $trigger_ci" echo "trigger-ci=$trigger_ci" >> "$GITHUB_OUTPUT" \ No newline at end of file