From d992fccfea30e8dadd5189002e947ce6951afab6 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:20:37 +0900 Subject: [PATCH] fix(wsl/home/.config/mise/config.toml): don't cache tty --- wsl/home/.config/mise/config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wsl/home/.config/mise/config.toml b/wsl/home/.config/mise/config.toml index 637811de..9dd7bc3b 100644 --- a/wsl/home/.config/mise/config.toml +++ b/wsl/home/.config/mise/config.toml @@ -9,7 +9,8 @@ BAT_PAGING = "never" # gpg requires tty # GitHub Actions doesn't have tty # ref: https://github.com/actions/runner/issues/241 -GPG_TTY = "{% if env.CI is undefined %}{{ exec(command='tty', cache_key='tty', cache_duration='1 week') }}{% endif %}" +# don't cache tty because it depends on shell session +GPG_TTY = "{% if env.CI is undefined %}{{ exec(command='tty') }}{% endif %}" # set GITHUB_TOKEN to avoid rate limit while using mise [env.GITHUB_TOKEN]