mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
webhooks/semaphore: Add support for Semaphore 2.0 notifications.
Semaphore has currently has two different versions of their product - Classic and 2.0. This commit adds support for Semaphore 2.0, along side Semaphore Classic, using the same webhook. This would let the integration work seamlessly for users who have already configured a Zulip integration in their Semaphore 2.0 projects. Semaphore 2.0 currently only supports GitHub and their payloads do not contain URLs for common entities like commits, pull requests and tags. We construct URLs for them using templates, but also try to support other services by providing notifications without URLs. Closes #14171 Co-authored-by: Puneeth Chaganti <punchagan@muse-amuse.in>
This commit is contained in:
@@ -327,7 +327,7 @@ WEBHOOK_INTEGRATIONS = [
|
||||
WebhookIntegration('pivotal', ['project-management'], display_name='Pivotal Tracker'),
|
||||
WebhookIntegration('raygun', ['monitoring'], display_name="Raygun"),
|
||||
WebhookIntegration('reviewboard', ['version-control'], display_name="ReviewBoard"),
|
||||
WebhookIntegration('semaphore', ['continuous-integration', 'deployment'], stream_name='builds'),
|
||||
WebhookIntegration('semaphore', ['continuous-integration', 'deployment']),
|
||||
WebhookIntegration('sentry', ['monitoring']),
|
||||
WebhookIntegration('slack', ['communication']),
|
||||
WebhookIntegration('solano', ['continuous-integration'], display_name='Solano Labs'),
|
||||
|
||||
Reference in New Issue
Block a user