Skip to content

Setting name causes release links to be broken #83

Closed

Description

@kip93

If you have a repo a/b and set this action name so that is shows up as a/c on flakehub, then the releases in flakehub will link commits to https://github.com/a/c/tree/COMMIT_SHA instead of https://github.com/a/b/tree/COMMIT_SHA.

Example:

Activity

  1. grahamc commented on Sep 24, 2023

    @grahamc
    Member

    Ohp, good catch! I'm testing a fix now.

  2. grahamc commented on Sep 24, 2023

    @grahamc
    Member

    I fixed all the cases of this bug that I could find, @kip93. Please re-open if you find other cases? Thank you!

  3. kip93 commented on Dec 10, 2023

    @kip93
    Author

    Unfortunately I just found another instance of this issue. When there's a relative link in the flake's README, it points to an URL using the overriden name rather than the repo's name.

    Both of these fail:

    • [foo](./foo)
    • <img src="foo.svg" alt="foo">

    Now, at the very least the image used to work, so this might be a recent regression (relatively speaking, I don't check much on the flakehub page).

  4. kip93 commented on Dec 10, 2023

    @kip93
    Author

    Can't seem to reopen the issue :/

  5. cole-h commented on Dec 11, 2023

    @cole-h
    Member

    Thanks for letting us know. We'll look into it!

  6. reopened this on Dec 11, 2023
  7. cole-h commented on Feb 16, 2024

    @cole-h
    Member

    @kip93 Sorry this issue reared its ugly head again, and that it took so long to get around to it, but this should be fixed going forward!

    You'll need to publish a new release to fix the linking, but after that it shouldn't be wrong again. 🤞

  8. added a commit that references this issue on Mar 28, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions