Lightning-AI / Lightning-AI/torchmetrics
Slash-command workflows are non-functional (Slash Command Dispatch fails on every run)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 526
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 5
Description
🐛 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'(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):
- Restore or refresh the
PAT_GHOSTsecret, if it's expired or unset, or - If the slash-command feature is no longer wanted, remove
slash-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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review .github/workflows/slash-cmd-dispatch.yml first, then inspect cmd-help.yml and cmd-rebase.yml and the failed run logs for the missing token input. Confirm with maintainers whether PAT_GHOST should be restored or the slash-command workflows should be removed; done means the chosen path is applied and slash-command runs no longer fail immediately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100