ci: Prevent pushes from forks to coveralls
@@ -60,7 +60,7 @@ jobs:
- run: go-acc -o coverage.txt ./...
# Submit coverage details
- - run: goveralls -service=circle-ci -coverprofile=coverage.txt -repotoken=$COVERALLS_REPO_TOKEN
+ - run: test -z "$CIRCLE_PR_NUMBER" && goveralls -service=circle-ci -coverprofile=coverage.txt -repotoken=$COVERALLS_REPO_TOKEN || echo "forks are not allowed to push to coveralls"
test-docker:
docker:
