Skip to content

Commit 405c374

Browse files
committed
ci: Fix PR URL -2
Signed-off-by: Chaitanya Tata <[email protected]>
1 parent ad63e42 commit 405c374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/module-monitor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
pr_number = pr_match.group(1)
139139
print(f"DEBUG: Commit {commit_hash} matches PR #{pr_number}", file=sys.stderr)
140140
return {
141-
'display': f"[{commit_hash[:7]}](https://github.com/nrfconnect/sdk-nrfxlib/pull/{pr_number})",
141+
'display': f"[{commit_hash[:7]} (PR #{pr_number})](https://github.com/nrfconnect/sdk-nrfxlib/pull/{pr_number})",
142142
'is_pr': True,
143143
'pr_number': pr_number,
144144
'pr_url': f"https://github.com/nrfconnect/sdk-nrfxlib/pull/{pr_number}"
@@ -186,7 +186,7 @@ jobs:
186186
187187
# Default: show short commit hash
188188
return {
189-
'display': commit_hash[:7] if commit_hash != "Unknown" else "Unknown"
189+
'display': f"{commit_hash[:7]} (commit)" if commit_hash != "Unknown" else "Unknown"
190190
}
191191
192192
def generate_diff_link(old_url, new_url):

0 commit comments

Comments
 (0)