Skip to content

Commit 8e66ad2

Browse files
committed
chore: remove gh CLI auth from dogfood template
Removed as it's being handled in another PR.
1 parent a3ba939 commit 8e66ad2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dogfood/coder/main.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -596,14 +596,6 @@ resource "coder_agent" "dev" {
596596
# Allow synchronization between scripts.
597597
trap 'touch /tmp/.coder-startup-script.done' EXIT
598598
599-
# Authenticate GitHub CLI
600-
if ! gh auth status >/dev/null 2>&1; then
601-
echo "Logging into GitHub CLI…"
602-
coder external-auth access-token github | gh auth login --hostname github.com --with-token
603-
else
604-
echo "Already logged into GitHub CLI."
605-
fi
606-
607599
# Increase the shutdown timeout of the docker service for improved cleanup.
608600
# The 240 was picked as it's lower than the 300 seconds we set for the
609601
# container shutdown grace period.

0 commit comments

Comments
 (0)