We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cdd78 commit 23f100aCopy full SHA for 23f100a
Makefile
@@ -15,7 +15,7 @@
15
SHELL := /bin/bash
16
17
# available for override
18
-GITHUB_TOKEN_PATH ?= /etc/github-token/token
+GITHUB_TOKEN_PATH ?=
19
TEST_INFRA_PATH ?= $(OUTPUT_DIR)/tmp/test-infra
20
21
# intentionally hardcoded list to ensure it's high friction to remove someone
@@ -65,7 +65,7 @@ deploy: config test peribolos
65
--fix-org-members \
66
--fix-teams \
67
--fix-team-members \
68
- --github-token-path=$(GITHUB_TOKEN_PATH) \
+ $(shell [ -n "${GITHUB_TOKEN_PATH}" ] && echo "--github-token-path=${GITHUB_TOKEN_PATH}") \
69
$(patsubst %, --required-admins=%, $(ADMINS)) \
70
$@
71
0 commit comments