mirror of https://github.com/status-im/consul.git
do not trigger integration tests (#18948)
This commit is contained in:
parent
cc40e084bb
commit
f5985fedce
|
@ -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"
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue