maasglobal / maasglobal/serverless-plugin-notification
Feature: Add support for conditional slack notifications
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Use case
It would be great to add built-in support to conditionally send slack notifications. One use case is, send notification only for specific deploys Prod / QA and not dev or feature branches.
Suggested
custom:
notification:
deployer: /* Default deployer name*/
slack:
enabled: {{self:provider.stage}}
enabled flag is true we perform notification.
Since sendNotification is the sink of all promises might as well put it there. or skip the entire promise chaining.
Also thanks for this plugin. 🙏
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in index.js at the sendNotification sink linked by the issue, then trace how the Slack notification configuration is read. Confirm how the suggested enabled value should control notifications for different Serverless stages, and verify that enabled notifications still send while disabled ones do not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100