-
Notifications
You must be signed in to change notification settings - Fork 89
add email & slack notifier action in github workflow #2280
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
base: main
Are you sure you want to change the base?
add email & slack notifier action in github workflow #2280
Conversation
The committers listed above are authorized under a signed CLA. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mohitsethia The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @mohitsethia. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@anshuman-agarwala can you help validating these changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the basic Q - where do you want to report these? which slack channel? and what email id and which smtp server it uses to send the mails?
We can't use k8s slack since they don't give out webhook links for their channels. For the email, I think on a job failure Github sends out an email already, not sure how useful sending an email notification will be. |
Hmm, in that case, maybe it's not worth spending our time on this. |
Is it the limitation of the slack feature for kubernetes only? Because my employers slack version provides creating webhook, maybe the admin of the k8s slack can help create one? And I was not sure what notification was being talked about in the issue and I didn't get any response so I went ahead giving an example of both the both slack and email action workflows. I guess github only emails to the person who raised the PR and not the maintainers/contributor/whoever wants to receive the notification, but not sure how that works for k8s workgroup. |
It's a limitation placed on us by the kubernetes slack admins: https://github.com/kubernetes/community/blob/master/communication/slack-guidelines.md#requesting-a-bot-token-or-webhook |
What this PR does / why we need it:
Adds email and slack notification workflow action template for weekly security scan.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2179
Special notes for your reviewer:
/area provider/ibmcloud
Release note: