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

on bad config, either notify on slack and ignore new config or exit altogether #103

Open
yasunariw opened this issue Dec 31, 2020 · 0 comments

Comments

@yasunariw
Copy link
Collaborator

For Slack to send messages via webhooks, each channel mentioned in the repo config file must have a corresponding webhook defined in the secrets file.

Suppose a bot has been configured to use webhooks. The repo config is updated to introduce some new channels, but the user forgot to update the secrets file with the new webhook urls.

Every time a new config is loaded from a repo, the bot should validate it against its secrets file and send a Slack alert or exit.

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

No branches or pull requests

1 participant