-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow to override slack channel when using webhook (#81)
Currently, there is a logic to throw an error when only `SLACK_CHANNEL` is specified but not `SLACK_TOKEN`. When using incoming webhook, a developer can override the slack channel to send a notification to by specifying the `channel` param for the post request. This commit changes the logic so that a developer can use specify `SLACK_WEBHOOK` and `SLACK_CHANNEL` to override the default channel associated to the webhook. Co-authored-by: Yoshi <[email protected]>
- Loading branch information
1 parent
47952b0
commit 83b4699
Showing
4 changed files
with
23 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters