Skip to content

Commit

Permalink
Merge pull request #320 from KSP-CKAN/JonnyOThan-patch-1
Browse files Browse the repository at this point in the history
ticket_closer should set the state_reason to not_planned
  • Loading branch information
HebaruSan authored Dec 3, 2023
2 parents d09c4a1 + 475e012 commit c30944f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netkan/netkan/ticket_closer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def close_tickets(self, days_limit: int = 7) -> None:
issue.title, repo_name, issue.number)

issue.create_comment(self.BODY_TEMPLATE.safe_substitute(defaultdict(lambda: '', {})))
issue.edit(state='closed')
issue.edit(state='closed', state_reason='not_planned')

0 comments on commit c30944f

Please sign in to comment.