do not trigger integration tests

pull/18948/head
NiniOak 2023-09-21 10:33:32 -07:00
parent f87ae3636c
commit 89e15e4cef
3 changed files with 4 additions and 8 deletions

View File

@ -31,7 +31,7 @@ for file_to_check in "${files_to_check[@]}"; do
echo -e $file_to_check
SKIP_CI=false
echo "Changes detected in non-documentation files - skip-ci: $SKIP_CI"
export $SKIP_CI
echo "skip-ci=$SKIP_CI" >> "$GITHUB_OUTPUT"
exit 0 ## if file is outside of the skipped_directory exit script
fi
done
@ -39,4 +39,4 @@ done
echo -e "$files_to_check"
SKIP_CI=true
echo "Changes detected in only documentation files - skip-ci: $SKIP_CI"
export $SKIP_CI
echo "skip-ci=$SKIP_CI" >> "$GITHUB_OUTPUT"

View File

@ -41,9 +41,7 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: read-files
run: |
./.github/scripts/filter_changed_files_go_test.sh
echo "skip-ci=${SKIP_CI}" >> "${GITHUB_ENV}"
run: ./.github/scripts/filter_changed_files_go_test.sh
setup:
needs: [conditional-skip]

View File

@ -42,9 +42,7 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: read-files
run: |
./.github/scripts/filter_changed_files_go_test.sh
echo "skip-ci=${SKIP_CI}" >> "${GITHUB_ENV}"
run: ./.github/scripts/filter_changed_files_go_test.sh
setup:
needs: [conditional-skip]