Skip to content

Commit

Permalink
Fix closed issue text
Browse files Browse the repository at this point in the history
Co-authored-by: Timur Sağlam <[email protected]>
  • Loading branch information
Kr0nox and tsaglam authored May 3, 2024
1 parent f5cea2d commit 8335d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/closeDevIssues.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_linked_issues(result):
issues = get_linked_issues(result)

def close_issue(issue_number):
requests.post(f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/comments", json={"body": f"Closed by #{pr_number}"}, headers=headers)
requests.post(f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/comments", json={"body": f"Closed by #{pr_number}."}, headers=headers)
requests.patch(f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}", json={"state": "closed"}, headers=headers)

if result['baseRefName'] != "develop":
Expand Down

0 comments on commit 8335d97

Please sign in to comment.