mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 14:57:00 +08:00
disable more beacons in CI
This commit is contained in:
parent
b216f6d02f
commit
2433f2c562
|
@ -45,6 +45,9 @@ post_beacon()
|
||||||
{
|
{
|
||||||
local beacon_type=$1
|
local beacon_type=$1
|
||||||
local meta=$2
|
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
|
if [[ -z "$beacon_type" ]]; then
|
||||||
fmt_fatal "beacon type is required"
|
fmt_fatal "beacon type is required"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user