Skip to content

Fix and secure GITHUB_TOKEN#20

Merged
sebastianrath merged 6 commits intomainfrom
bugfix/token
Feb 14, 2026
Merged

Fix and secure GITHUB_TOKEN#20
sebastianrath merged 6 commits intomainfrom
bugfix/token

Conversation

@sebastianrath
Copy link
Member

@sebastianrath sebastianrath commented Feb 14, 2026

This PR prevents GITHUB_TOKEN from leaking to subprocesses by capturing it into secrets early and removing it from the OS environment. Previously, any subprocess could read the token from the parent process env. The var was also renamed from INPUT_TOKEN to INPUT_GITHUB_TOKEN (this comes from the GH action) to make its purpose clear. E2e test references were stabilized by normalizing stack trace line numbers, which previously caused unrelated test failures whenever source files were edited.

@sebastianrath sebastianrath changed the title Normalize stack trace line numbers in e2e tests Fix and secure GITHUB_TOKEN Feb 14, 2026
@sebastianrath sebastianrath merged commit 58070c2 into main Feb 14, 2026
9 checks passed
@sebastianrath sebastianrath deleted the bugfix/token branch February 14, 2026 13:43
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