Skip to content

Commit 93bab13

Browse files
committed
fix: Dont run semaphore without gh api token
1 parent bacfab5 commit 93bab13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/download-semaphore.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+
if [ "$TRAVIS" = true ] && [ -z "$GITHUB_API_TOKEN" ]; then
6+
echo "Not running on external pull request"
7+
exit 0;
8+
fi
9+
510
target=semaphore
611

712
# Download the latest semaphore release for Travis

0 commit comments

Comments
 (0)