Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close incident command #363

Merged
merged 4 commits into from
Jan 16, 2024
Merged

Close incident command #363

merged 4 commits into from
Jan 16, 2024

Conversation

sylviamclaughlin
Copy link
Contributor

Summary | Résumé

Closes #355

A new command for the SRE bot that closes an incident channel. To run it, you need to go to the incident channel and type /sre incident close
Once this is done, the incident document is updated to "Closed", the incident spreadsheet for that particular channel is also updated to "Closed" and the channel is archived.

@sylviamclaughlin sylviamclaughlin requested a review from a team January 15, 2024 23:39
@sylviamclaughlin sylviamclaughlin self-assigned this Jan 15, 2024
Copy link
Member

@wanpengyang wanpengyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 super cool!

@sylviamclaughlin
Copy link
Contributor Author

@patheard - I added a logging warning if the document does not exist. Thanks for pointing this out!

@sylviamclaughlin sylviamclaughlin merged commit db76c59 into main Jan 16, 2024
4 checks passed
@sylviamclaughlin sylviamclaughlin deleted the feat/close_incident branch January 16, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEAT: A command to close an incident channel.
3 participants