Skip to content

Missing download info for message could be more helpful #3783

Open
@jsoref

Description

@jsoref

Describe the bug
When you specify a uses: some/action@non-existent-ref-name, the error message isn't terribly helpful

throw new Exception($"Missing download info for {lookupKey}");

To Reproduce

  1. Create and run a workflow that uses an action with a reference to a ref name that doesn't exist, https://github.com/check-spelling-sandbox/onedrive/actions/runs/14161440115)
  2. See error

Expected behavior
Error message should suggest,

  • if the repository exists, that it's likely the reference name is bad.
  • if no public repository exists, that "either the repository doesn't exist, or it's private and that you cannot use private repositories in uses:"

Runner Version and Platform

Version of your runner?
2.323.0

OS of the machine running the runner? Ubuntu 24.04.2

What's not working?

Please include error messages and screenshots.

Getting action download info
Error: Missing download info for check-spelling-sandbox/check-spelling@prereleae

Job Log Output

If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.

Runner and Worker's Diagnostic Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions