Skip to content

Commit

Permalink
fix(wsl/home/.config/mise/config.toml): don't cache tty
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Dec 20, 2024
1 parent b53f8b6 commit d992fcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wsl/home/.config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d992fcc

Please sign in to comment.