do not trigger integration tests (#18948)

This commit is contained in:
Anita Akaeze 2023-09-21 12:10:34 -07:00 committed by GitHub
parent cc40e084bb
commit f5985fedce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]