Skip to content

Commit

Permalink
include labels in PR summary
Browse files Browse the repository at this point in the history
for easier highlighting of deployment impact
  • Loading branch information
minrk committed Jun 13, 2023
1 parent c27a1bc commit 3362e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get-prs.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def extract_gitref(s):
# Chartpress ignores merge commits when generating the Helm chart SHA
prs.update(c.get_pulls())
pr_summaries = [
f"- [#{pr.number}]({pr.html_url}) {pr.title}"
f"- [#{pr.number}]({pr.html_url}) {pr.title} ({', '.join(label.name for label in pr.labels)})"
for pr in sorted(prs, key=lambda pr: pr.number)
]

Expand Down

0 comments on commit 3362e11

Please sign in to comment.