Skip to content

Commit 9fe6bf2

Browse files
authored
Updates the format release note script to skip bot users. (#5834)
Signed-off-by: David Venable <dlv@amazon.com>
1 parent 21fcbcd commit 9fe6bf2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

release/script/blog/format-release-thank-you.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
for author in sorted(authors, key=str.lower):
1818
user = json.loads(os.popen(f"gh api users/{author}").read())
19+
20+
if user['type'] == 'Bot':
21+
continue
22+
1923
if user['name'] != None:
2024
print(f"* [{user['login']}]({user['html_url']}) -- {user['name']}")
2125
else:

0 commit comments

Comments
 (0)