Skip to content

Missing download info for message could be more helpful #3783

Open

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 and the owner doesn't match the current repository's owner, that "either the repository doesn't exist, or it's private and that you cannot use private repositories in uses:"
  • if no public repository exists and the owner does match the current repository's owner, that "either the repository doesn't exist, or it's private and you haven't set the repository to be used, but you could..."

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

Activity

  1. dniald commented on Apr 24, 2025

    @dniald

    i got the same issue. Is there any workaround on this?

  2. jsoref commented on Apr 24, 2025

    @jsoref
    ContributorAuthor

    My guess is your refname is bad. Do you have a log to point to?

  3. dniald commented on Apr 24, 2025

    @dniald

    My guess is your refname is bad. Do you have a log to point to?

    i just got this below. What I'm missing here?

    Image Image
  4. jsoref commented on Apr 24, 2025

    @jsoref
    ContributorAuthor

    Technically you aren't missing anything, you just have an extraneous v. The tag is:
    https://github.com/aquasecurity/trivy-action/releases/tag/0.29.0

    So you need to change:

    -uses: aquasecurity/trivy-action@v0.29.0
    +uses: aquasecurity/trivy-action@0.29.0
  5. jsoref commented on Apr 24, 2025

    @jsoref
    ContributorAuthor

    The other one is different...

    There are workflows that reference this repository:
    https://github.com/search?q=%22peter-evans%2Fcreate-issue%40%22+&type=code

    But, I checked, and can't find any workflow runs that successfully used a repository but that name.

    How did you come to try to use that repository name? I'd expect you want the one listed in: https://github.com/peter-evans?tab=repositories&q=create-i&type=&language=&sort=

  6. github-actions commented on Apr 27, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.

  7. jsoref commented on Apr 27, 2026

    @jsoref
    ContributorAuthor

    This is still an issue. I've updated the expected results as there's a new feature for private repositories that allows the repository to be shared for use by other repositories in the same organization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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