Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Allow overriding channel name in endpoint #21

Open
taksan opened this issue Jul 29, 2020 · 2 comments
Open

Allow overriding channel name in endpoint #21

taksan opened this issue Jul 29, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@taksan
Copy link

taksan commented Jul 29, 2020

We do have a single channel to receive notifications from multiple repos. It would be nice if we could override de target channel passing a query parameter, for example

@jschirrmacher jschirrmacher added the enhancement New feature or request label Aug 30, 2020
@ChristopheKar
Copy link

We would also love to have this option. A quick and slightly dirty solution to this could be to use the Gitlab secret token that you have the possibility to setup when creating the Webhook. Then, this line could be modified in GitLabEndpoint.ts to instead read headers['X-Gitlab-Token'] as the roomName, of course with some or condition to revert to the default roomName in case the header key is undefined. I would create this pull request but I'm having trouble testing it and deploying it locally through rc-apps deploy.

@metalcated
Copy link

Yeah I'd like this one too! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants