gh auth loginのオプションでトークンの有効期限を短くできるようになったのか
GitHub CLI: Opt in to expiring, auto-refreshing OAuth tokens - GitHub Changelog
https://github.blog/changelog/2026-10-21-github-cli-opt-in-to-expiring-auto-refreshing-oauth-tokens/

The GitHub BlogGitHub CLI: Opt in to expiring, auto-refreshing OAuth tokens - GitHub ChangelogYou can now use expiring, automatically refreshing OAuth credentials in GitHub CLI as part of a public preview. When you opt in, gh stores an expiring access token alongside a…
commit 98e27a7