From 849383189a3014f4cef5c4861d06686083f4fc57 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:22:33 +0900 Subject: [PATCH 1/2] fix(wsl/home/.config/mise/config.toml): don't cache tty (#1152) --- 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] From d5422c754168c53512923b7b0b2e35ebdaac4e12 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:22:49 +0900 Subject: [PATCH 2/2] Revert "ci(.github/workflows/test.yml): override GITHUB_TOKEN with GH_TOKEN (#1143)" (#1150) This reverts commit 8a6ddcb3410602daa928e676dd20dd37ad7a7f72. --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: