Skip to content

fix(qa): the headless host action does not need a secret - #38

Merged
pathscale merged 1 commit into
masterfrom
fix/headless-host-token
Sep 9, 2026
Merged

fix(qa): the headless host action does not need a secret#38
pathscale merged 1 commit into
masterfrom
fix/headless-host-token

Conversation

@pathscale

Copy link
Copy Markdown
Owner

Every consumer of headless-host@master fails at its first step:

Input required and not supplied: token

chuzz is public. actions/checkout reaches it with the workflow's own github.token; no PAT was ever needed. But the action declared token as required: true, so each caller had to name a secret, and repositories without SIBLING_REPOS_TOKEN (ui and honey.id among them, verified) passed the empty string.

Two changes: token is optional, and the checkout uses ${{ inputs.token || github.token }} so the fifteen callers already passing an unset secret keep working without edits.

This unblocks ui #289, honey.id #332, ps-observability #19 and the twelve site PRs, all of which fail here and nowhere else.

chuzz is public, so `actions/checkout` reaches it with the workflow's own
`github.token`. The action nonetheless declared `token` as `required: true`,
so every caller had to name a secret to clone a public repository, and the
repositories that did not have `SIBLING_REPOS_TOKEN` passed the empty string.
The action then failed before its first step with

    Input required and not supplied: token

which names the input rather than the missing secret, and reads as a broken
action rather than an unset repository secret.

`token` is now optional, and the checkout falls back to `github.token` when
the input is empty, so a caller that still passes an unset secret works too.
That matters here: fifteen callers already pass one.
@pathscale
pathscale merged commit 367f594 into master Sep 9, 2026
4 checks passed
@pathscale
pathscale deleted the fix/headless-host-token branch September 9, 2026 09: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