Repository navigation
ci (github): use absolute links in the PR template - #68
Merged
Merged
Conversation
Relative links in the template resolved against the pull request URL and returned 404. Absolute URLs resolve from both the template and the PR page.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the PR template’s update to absolute documentation links.
No open issues 🎉
What changed in this PR
Fixes documentation links in the PR template so they work when rendered in newly created pull request descriptions, addressing the broken-link case seen in #67.
Changes:
- Replaces relative links to the contribution checklist and ADR README with absolute GitHub URLs targeting
main. - Changes only the template; runtime behavior and existing PR descriptions remain unchanged.
| File | Description |
|---|---|
.github/pull_request_template.md |
Uses absolute URLs for both checklist documentation links. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The two documentation links in the PR template checklist (
Contribution-DoD.mdand the ADR README) now use absolutehttps://github.com/Laerdal/Plugin.Bluetooth/blob/main/...URLs instead of../Docs/....Why
A PR body is rendered at
/pull/<n>, so../Docs/...resolved to/Laerdal/Plugin.Bluetooth/Docs/...and returned 404 (for example the checklist link in #67). Relative links only work when the template is viewed as a file in the repository.Change Type
refa)Affected Areas
Bluetooth.Maui)Behavior And Compatibility
If any box above is checked, describe impact:
Platform Notes
None.
Tests
Validation notes: template-only change, no code touched. Both target files exist on
main, the old form returns 404 and the new form returns 200.Documentation
Logging / Diagnostics
Risks And Follow-ups
Risk level:
Known limitations or deferred follow-ups:
Checklist
type (scope): short imperativeand is <= 72 chars