Skip to content

Commit

Permalink
Add comment before closing
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Mar 22, 2024
1 parent 62dee71 commit 632a1a0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions snapshot_manager/snapshot_manager/snapshot_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,12 @@ def check_todays_builds(self):
states=states,
)
if all_good:
logging.info(
"All required packages have been successfully built in all required chroots. We can can close this issue now."
)
msg = f"""Congratulations @{self.config.maintainer_handle}!
All required packages have been successfully built in all required chroots.
We'll close this issue for you now as completed.
"""
logging.info(msg)
issue.create_comment(body=msg)
issue.edit(state="closed", state_reason="completed")

logging.info(f"Updated today's issue: {issue.html_url}")

0 comments on commit 632a1a0

Please sign in to comment.