Skip to content

Commit 18cac62

Browse files
Update OWNERS link in maintainer-approval.js (#5563)
## Changes Make the link absolute (needs to include repo path & branch) rather than relative. ## Why Relative links do not render correctly in GitHub PR comments. ## Tests - old: [OWNERS](.github/OWNERS) - also see [comment](#5563 (comment)) on this PR - new: [OWNERS](/databricks/cli/blob/main/.github/OWNERS)
1 parent b86d5a0 commit 18cac62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/maintainer-approval.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function checkPerPathApproval(files, rulesWithTeams, approverLogins, githu
9797
// --- Git history & scoring helpers ---
9898

9999
const MENTION_REVIEWERS = false;
100-
const OWNERS_LINK = "[OWNERS](.github/OWNERS)";
100+
const OWNERS_LINK = "[OWNERS](/databricks/cli/blob/main/.github/OWNERS)";
101101
const MARKER = "<!-- MAINTAINER_APPROVAL -->";
102102
const STATUS_CONTEXT = "maintainer-approval";
103103

0 commit comments

Comments
 (0)