From 2433f2c56284b0dc612ccd5fc92447c3278bef0f Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Tue, 31 Jan 2023 13:24:28 +0800 Subject: [PATCH] disable more beacons in CI --- tools/logger.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/logger.sh b/tools/logger.sh index 5c90797..1d47b53 100755 --- a/tools/logger.sh +++ b/tools/logger.sh @@ -45,6 +45,9 @@ post_beacon() { local beacon_type=$1 local meta=$2 + if [[ -n "$CI" && "$beacon_type" != "gh.ci" && "$beacon_type" != "dfs.invalid-commit" && "$beacon_type" != "dfs.dirty" ]]; then + return + fi if [[ -z "$beacon_type" ]]; then fmt_fatal "beacon type is required" fi