There was an error while loading. Please reload this page.
1 parent b504b4d commit 3d193caCopy full SHA for 3d193ca
1 file changed
scripts/test-e2e.sh
@@ -107,6 +107,13 @@ while ! obelisk component list 2>/dev/null; do
107
sleep 1
108
done
109
110
+# Make sure this repo has no stars
111
+JSON=$(curl --fail "http://127.0.0.1:9090?repo=${STAR_ACCOUNT}/${STAR_REPO}&ordering=asc&limit=1")
112
+if [[ "$JSON" != "[]" ]]; then
113
+ echo "The repo ${STAR_ACCOUNT}/${STAR_REPO} already has star gazers"
114
+ exit 1
115
+fi
116
+
117
PAYLOAD='{
118
"action": "created",
119
"sender": {
0 commit comments