🐛 Bug
The repository's slash-command system appears to be non-functional. slash-cmd-dispatch.yml runs on every issue_comment but fails immediately with Error: Missing required input 'token', which suggests the PAT_GHOST secret it passes is empty or unavailable to the action. As a result, the downstream handlers cmd-help.yml and cmd-rebase.yml (triggered by the dispatch) never run, /help and /rebase appear to do nothing.
I can only observe this from the outside (run logs + run history), so the secret diagnosis is a best guess, maintainers can confirm the actual PAT_GHOST state.
To Reproduce
Evidence
- Recent "Slash Command Dispatch" runs: 6 of the last 6 failed.
- Example failing run: https://github.com/Lightning-AI/torchmetrics/actions/runs/26149625570 fails with
Error: Missing required input 'token' (the token input is fed from PAT_GHOST, which seems to resolve to empty).
cmd-help.yml and cmd-rebase.yml have no run history at all, consistent with the dispatch never reaching them.
Additional context
Possible ways forward (maintainers' call, since this is internal tooling / a repo secret):
- Restore or refresh the
PAT_GHOST secret, if it's expired or unset, or
- If the slash-command feature is no longer wanted, remove
slash-cmd-dispatch.yml, cmd-help.yml, and cmd-rebase.yml. Happy to send a PR for the removal route if that's preferred.
Found while auditing/pinning action SHAs across the workflows in #3392
🐛 Bug
The repository's slash-command system appears to be non-functional.
slash-cmd-dispatch.ymlruns on everyissue_commentbut fails immediately withError: Missing required input 'token', which suggests thePAT_GHOSTsecret it passes is empty or unavailable to the action. As a result, the downstream handlerscmd-help.ymlandcmd-rebase.yml(triggered by the dispatch) never run,/helpand/rebaseappear to do nothing.I can only observe this from the outside (run logs + run history), so the secret diagnosis is a best guess, maintainers can confirm the actual
PAT_GHOSTstate.To Reproduce
Evidence
Error: Missing required input 'token'(thetokeninput is fed fromPAT_GHOST, which seems to resolve to empty).cmd-help.ymlandcmd-rebase.ymlhave no run history at all, consistent with the dispatch never reaching them.Additional context
Possible ways forward (maintainers' call, since this is internal tooling / a repo secret):
PAT_GHOSTsecret, if it's expired or unset, orslash-cmd-dispatch.yml,cmd-help.yml, andcmd-rebase.yml. Happy to send a PR for the removal route if that's preferred.Found while auditing/pinning action SHAs across the workflows in #3392