Skip to content

Slash-command workflows are non-functional (Slash Command Dispatch fails on every run) #3393

Description

@RecreationalMath

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug / fixSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions