Skip to content

fix: hide JIT token from workflow processes - #1

Draft
everettVT wants to merge 5 commits into
mainfrom
archetype-nightly-hardening
Draft

fix: hide JIT token from workflow processes#1
everettVT wants to merge 5 commits into
mainfrom
archetype-nightly-hardening

Conversation

@everettVT

@everettVT everettVT commented Aug 12, 2026

Copy link
Copy Markdown

What changed

Remove the repository-administration GITHUB_TOKEN from the job environment before starting Docker, minting the one-use JIT configuration, or replacing the entrypoint with the Actions runner. Add regression coverage and document the resulting trust boundary.

Dogfood also found and fixed two runner compatibility defects:

  • use literal job keys in unique runs-on labels because github.job is empty during scheduling
  • make the Ubuntu runner image executable by installing Python and make; configure Archetype to use it for actions/setup-python compatibility

Why

Archetype will use this fork for an advisory nightly runner benchmark. Validator and test processes must receive only the ordinary job-scoped Actions token, never the token capable of creating repository JIT runners.

Validation

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.

1 participant