Skip to content

Add deployment_events to project hooks API

Vladimir Shushlin requested to merge 25344-fire-webhook-on-new-deployment-3 into master

What does this MR do?

Allows deployment_events to be set via API for project webhooks.

Part of #25344 (closed)

Sending webhooks is currently behind the feature flag, but I think it's ok to allow flag to be set/read without the feature flag.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Vladimir Shushlin

Merge request reports