Skip to content

feat: raise max expires-in to 6 hours - #118

Merged
dotjoshrc merged 6 commits into
mainfrom
ref/longer-lifetime
Aug 4, 2026
Merged

feat: raise max expires-in to 6 hours#118
dotjoshrc merged 6 commits into
mainfrom
ref/longer-lifetime

Conversation

@dotjoshrc

Copy link
Copy Markdown
Contributor

Raises the maximum expires-in from 1 hour to 6 hours, matching the longest a job can run on GitHub hosted runners. Previously, jobs running longer than an hour could have their Docker token expire mid-run.

The minimum (300) and the default (300) are unchanged, so longer token lifetimes stay opt-in.

Raise the upper bound for `expires-in` from 3600 (1 hour) to 21600
(6 hours) to match the maximum job runtime allowed on GitHub hosted
runners, so a token can remain valid for the whole job.
@dotjoshrc
dotjoshrc requested a review from a team as a code owner August 4, 2026 19:55
@dotjoshrc
dotjoshrc merged commit 96ba694 into main Aug 4, 2026
26 checks passed
@dotjoshrc
dotjoshrc deleted the ref/longer-lifetime branch August 4, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants