8000 CI Do not upload to codecov on forks (#26375) · REDVM/scikit-learn@58f74c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 58f74c8

Browse files
thomasjpfanREDVM
authored andcommitted
CI Do not upload to codecov on forks (scikit-learn#26375)
1 parent c52cfdb commit 58f74c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build_tools/azure/upload_codecov.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
set -e
44

5+
# Do not upload to codecov on forks
6+
if [[ "$BUILD_REPOSITORY_NAME" != "scikit-learn/scikit-learn" ]]; then
7+
exit 0
8+
fi
9+
510
# When we update the codecov uploader version, we need to update the checksums.
611
# The checksum for each codecov binary is available at
712
# https://uploader.codecov.io e.g. for linux

0 commit comments

Comments
 (0)
0