From 5e156b93fda3cd68023ae8c0f2741f777d90f819 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 10 Feb 2023 20:13:54 -0800 Subject: [PATCH] Makefile: Unset GITHUB_TOKEN on fmt call See https://github.com/terrastruct/d2/commit/335d925b7c937d4e7cac7e26de993f60840eb116#commitcomment-98101131 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8fd431900..cff1068c0 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ all: fmt gen lint build test .PHONY: fmt fmt: - prefix "$@" ./ci/sub/bin/fmt.sh + # Unset GITHUB_TOKEN, see https://github.com/terrastruct/d2/commit/335d925b7c937d4e7cac7e26de993f60840eb116#commitcomment-98101131 + GITHUB_TOKEN= prefix "$@" ./ci/sub/bin/fmt.sh .PHONY: gen gen: prefix "$@" ./ci/gen.sh