Skip to content

Commit

Permalink
Merge pull request #2664 from minrk/autoupdate-labels
Browse files Browse the repository at this point in the history
include labels in PR summary
  • Loading branch information
consideRatio authored Jun 13, 2023
2 parents c27a1bc + 3362e11 commit 5dba733
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 5dba733

Please sign in to comment.