Jane Wheatley
Jane Wheatley

Reputation: 39

GitLab for Slack App: notification to a specific branch

I am using the Integration tool GitLab for Slack App and want to only send a notification when code is pushed to a specific branch. Is there a way to only send a notification when an action is done to a specific branch?

I have already searched through the Gitlab documentation and only see that notifications can be sent from default branches and protected branches. Considering I have a few protected branches, this option does not work for me. Notification Settings

Upvotes: 1

Views: 487

Answers (1)

Ed Harrod
Ed Harrod

Reputation: 3629

I don't believe this is possible as things stand, you can raise a product request with Gitlab here.

As a workaround, are you able to integrate adding a tag into your pipeline, so that you can then check A tag is pushed to the repository or removed, which would apply to your branch?

Upvotes: 0

Related Questions