Skip to content

Fix broken pull request template links (#2867)#2883

Merged
basfroman merged 8 commits intoopentensor:stagingfrom
AgSpades:fix-pr-template
May 29, 2025
Merged

Fix broken pull request template links (#2867)#2883
basfroman merged 8 commits intoopentensor:stagingfrom
AgSpades:fix-pr-template

Conversation

@AgSpades
Copy link
Contributor

This PR updates the pull request template links to use full paths. This change attempts to address the issue outlined in #2867, where links do not render correctly.

Changes:

  • Replaced links with full paths to .md files
  • Ensured compatibility with GitHub’s preview/render behavior

Related Issue:
Closes #2867

AgSpades added 2 commits May 18, 2025 09:44
Updated pull request template links to point to the correct `.github/PULL_REQUEST_TEMPLATE/*.md` files for proper rendering and navigation.
@AgSpades AgSpades marked this pull request as ready for review May 18, 2025 04:56
@thewhaleking thewhaleking requested a review from a team May 18, 2025 07:27
@basfroman basfroman changed the base branch from master to staging May 18, 2025 07:27
Copy link
Contributor

@thewhaleking thewhaleking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

None of these links work.

The issue wasn't with the path itself, but with GitHub requiring the
additional 'expand=1' query parameter for proper template rendering.
This change ensures the correct behavior when selecting pull request
templates.
@AgSpades
Copy link
Contributor Author

Sorry for the trouble. This should work now. Please check and let me know.

@AgSpades AgSpades requested a review from thewhaleking May 20, 2025 09:01
@thewhaleking
Copy link
Contributor

Sorry for the trouble. This should work now. Please check and let me know.

None of these links work, still.

@basfroman basfroman requested a review from a team May 20, 2025 17:39
@AgSpades
Copy link
Contributor Author

Sorry for the trouble. This should work now. Please check and let me know.

None of these links work, still.

Could you please tell me how you checked the functionalities of my changes?

I mean in order to check whether the PR templates are loading properly or not, you need to try opening a PR to the branch(where I have made changes to the templates file).

Before going to the preview section, please see if the additional query parameter expand is present in each of the links.

@basfroman
Copy link
Collaborator

Sorry for the trouble. This should work now. Please check and let me know.

None of these links work, still.

Could you please tell me how you checked the functionalities of my changes?

I mean in order to check whether the PR templates are loading properly or not, you need to try opening a PR to the branch(where I have made changes to the templates file).

Before going to the preview section, please see if the additional query parameter expand is present in each of the links.

this works for me

pip install linkcheckmd
python -m linkcheckmd .github/pull_request_template.md

@thewhaleking thewhaleking mentioned this pull request May 29, 2025
@basfroman basfroman merged commit 6bf7d42 into opentensor:staging May 29, 2025
125 checks passed
@ibraheem-abe ibraheem-abe mentioned this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Links broken on pull request template

3 participants