Add message when closing issue

This commit is contained in:
alstr 2020-03-20 14:41:06 +00:00
parent 29acbf17fa
commit 7ba5bb18df

View File

@ -140,7 +140,7 @@ def main():
data=json.dumps(body))
issue_comment_url = f'{base_url}{repo}/issues/{issue_number}/comments'
body = f'Closed in {sha}'
body = {'body': f'Closed in {sha}'}
requests.post(issue_comment_url, headers=issue_headers, params=params,
data=json.dumps(body))