Skip to content

ci (github): use absolute links in the PR template - #68

Merged
framinosona merged 1 commit into
mainfrom
framinosona/fix-pr-template-links
Nov 5, 2026
Merged

framinosona merged 1 commit into
mainfrom
framinosona/fix-pr-template-links

Conversation

@framinosona

Copy link
Copy Markdown
Member

Summary

The two documentation links in the PR template checklist (Contribution-DoD.md and the ADR README) now use absolute https://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

  • Feature
  • Bug fix
  • Refactor (refa)
  • Docs only
  • CI/build/tooling

Affected Areas

  • Abstractions
  • Core
  • Platform: Android
  • Platform: iOS/macOS
  • Platform: Windows
  • Platform: DotNetCore fallback
  • Facade (Bluetooth.Maui)
  • Documentation

Behavior And Compatibility

  • Public API changed
  • Exception behavior changed
  • DI registration behavior changed
  • Capability matrix impact
  • No externally visible behavior change

If any box above is checked, describe impact:

Platform Notes

None.

Tests

  • Unit tests added/updated
  • Integration/smoke tests added/updated
  • Manual platform validation performed
  • Not applicable (explain)

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

  • Docs updated in same PR
  • Capability claims verified against implementation
  • Links validated
  • Not applicable (explain)

Logging / Diagnostics

  • New logs added
  • EventId range validated
  • No logging changes

Risks And Follow-ups

Risk level:

  • Low
  • Medium
  • High

Known limitations or deferred follow-ups:

  • Open PRs keep the body they were created with, so their checklist link stays broken until their descriptions are edited. The template only applies to PRs opened after this merges.

Checklist

  • I reviewed Docs/Best-Practices/Contribution-DoD.md
  • Commit header follows type (scope): short imperative and is <= 72 chars
  • Commit type is one of: feat, fix, refa, perf, docs, ci, chore, test, build
  • Commit body is 1-2 factual sentences (what/why), no emojis, refs, or co-authors
  • If architectural behavior changed, an ADR was added or updated under Docs/Architecture/ADR

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.
Copilot AI balanced review requested due to automatic review settings November 2, 2026 14:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 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

@framinosona
framinosona requested a review from TheRDavid November 2, 2026 14:18
@framinosona
framinosona merged commit d1586de into main Nov 5, 2026
10 checks passed
@framinosona
framinosona deleted the framinosona/fix-pr-template-links branch November 5, 2026 18:50
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.

2 participants