diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11787066..95484fdb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,7 @@ jobs: github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | bash env: - # GH_TOKEN take precedence over GITHUB_TOKEN which is set by mise - GH_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github.token }} actions-timeline: needs: diff --git a/wsl/home/.config/mise/config.toml b/wsl/home/.config/mise/config.toml index a1ddac61..764daa9b 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]