Skip to content

Rename github_token secret to kosli_github_token#15

Merged
gsavage merged 1 commit into
mainfrom
rename-github-token-secret
May 20, 2026
Merged

Rename github_token secret to kosli_github_token#15
gsavage merged 1 commit into
mainfrom
rename-github-token-secret

Conversation

@gsavage

@gsavage gsavage commented May 20, 2026

Copy link
Copy Markdown
Contributor

A reusable workflow (on: workflow_call) cannot declare a secret named github_token because that name is reserved for the built-in secrets.GITHUB_TOKEN. Callers were failing to parse the workflow with:

secret name github_token within workflow_call can not be used
since it would collide with system reserved name

Rename the input secret to kosli_github_token and update the env.GH_TOKEN mapping to read from the new name. Callers must update their secrets: block to pass kosli_github_token instead of github_token.

A reusable workflow (`on: workflow_call`) cannot declare a secret named
`github_token` because that name is reserved for the built-in
`secrets.GITHUB_TOKEN`. Callers were failing to parse the workflow with:

  secret name `github_token` within `workflow_call` can not be used
  since it would collide with system reserved name

Rename the input secret to `kosli_github_token` and update the
`env.GH_TOKEN` mapping to read from the new name. Callers must update
their `secrets:` block to pass `kosli_github_token` instead of
`github_token`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gsavage gsavage merged commit 0b70c95 into main May 20, 2026
1 check passed
@gsavage gsavage deleted the rename-github-token-secret branch May 20, 2026 18:25
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