Skip to content

action-pr-link - support Usage page #8630

Open

Description

@Iaotle

Description

Very often the ?pr=1234 query param gets removed when I'm navigating around the CI screen. It would be awesome to have a permanent link back to the pull request in question right on the ui:

When PR queryparam is present:

Image

after it gets removed:

Image

Ideally I'd love to be able to go to the most recent check (in case a new commit gets pushed) and to go to the source PR.

Example URLs

https://github.com/refined-github/refined-github/actions/runs/16982397141/job/48144966205?pr=8623

Activity

  1. fregante commented on Aug 19, 2025

    @fregante
    Member

    Super annoying indeed, we have a feature that adds that parameter to certain links already, but it's not comprehensive.

  2. added
    small
    and removed on Aug 19, 2025
  3. SunsetTechuila commented on Nov 2, 2025

    @SunsetTechuila
    Contributor

    Very often the ?pr=1234 query param gets removed when I'm navigating around the CI screen

    I'm unable to reproduce this

    we have a feature that adds that parameter to certain links already

    action-pr-link

    but it's not comprehensive

    What do you mean? I think the only case it doesn't cover is accessing the workflow run page via a direct link, but this seems intentional

  4. fregante commented on Nov 6, 2025

    @fregante
    Member

    the ?pr=1234 query param gets removed when I'm navigating around the CI screen

    @Iaotle please provide exact repro steps. I will reopen it when we can repro it

  5. Iaotle commented on Nov 6, 2025

    @Iaotle
    Author

    @fregante okay here are the relevant scenarios I found while clicking around. You can see that the pr tag gets cleared away at some point when you are clicking around on the branch belonging to the pr, and also when clicking on a job from usage page.

    1. Clicking on an individual job through the usage page of github actions

    it seems to be the usage page links don't have pr tag on them. I think it makes sense to keep it around since I'm still navigating the jobs for this PR.

    Page history:

    https://github.com/user/repo/actions/runs/19140211831?pr=8853
    https://github.com/user/repo/actions/runs/19140211831/job/54704504699?pr=8853
    https://github.com/user/repo/actions/runs/19140211831/attempts/1?pr=8853
    https://github.com/user/repo/actions/runs/19140211831/usage?pr=8853
    https://github.com/user/repo/actions/runs/19140211831/job/54702976607
    https://github.com/user/repo/actions/workflows/node-ci.yml
    

    2. Going to the PR's branch

    also when you click on the branch to navigate there it has no link. it would be awesome to preserve PR link here, just keep a little element always that says "go back to pull request". The branch is obviously related to the PR and the CI running on it, so to me it makes sense to not clear the param.

    Page history:

    https://github.com/user/repo/actions/runs/19140211831?pr=8853
    https://github.com/user/repo/tree/refs/heads/branch-name
    https://github.com/user/repo/actions/runs/19140211831/job/54704504672
    
  6. Iaotle commented on Nov 6, 2025

    @Iaotle
    Author

    What do you mean? I think the only case it doesn't cover is accessing the workflow run page via a direct link, but this seems intentional

    @SunsetTechuila I think it makes perfect sense that I could view detailed job info on a PR ¯\(ツ)/¯

  7. SunsetTechuila commented on Nov 6, 2025

    @SunsetTechuila
    Contributor

    the only case it doesn't cover is accessing the workflow run page via a direct link

    @fregante should we change that? or it would be enough to fix this:

    Clicking on an individual job through the usage page of github actions

  8. fregante commented on Nov 6, 2025

    @fregante
    Member

    Clicking on an individual job through the usage page of github actions

    This is a repro, please provide REAL URLs

    1. Open https://github.com/refined-github/refined-github/actions/runs/19100812913/usage
    2. Click any link in the table
    Image

    Going to the PR's branch

    Provide a proper repro plz. Which links do you click? Which branch? Screenshots are needed here.

  9. changed the title [-]Backlink to PR from Checks window[/-] [+]`action-pr-link` - support Usage page[/+] on Jan 9, 2026
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

    acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions