Skip to content

Commit c1239da

Browse files
authored
Merge pull request #40 from aha-develop/DEVELOP-1678--github-extension-updating-pr-name-relink-pr
DEVELOP-1678 Prioritize title over url when linking prs to records
2 parents 68252c1 + fdc5816 commit c1239da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/recordFrom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ export async function recordFromPullRequestEvent(
147147
pr: PullRequestEvent["pull_request"]
148148
): Promise<LinkableRecord | null> {
149149
return recordFromFinders([
150-
["PR URL", () => recordFromUrl(pr.html_url)],
151150
["PR Title", () => recordFromReferenceNum(pr.title)],
151+
["PR URL", () => recordFromUrl(pr.html_url)],
152152
["PR branch name", () => recordFromReferenceNum(pr.head.ref)],
153153
[
154154
"PR branch URL",

0 commit comments

Comments
 (0)