WebHooks: branch filter for push/pull request notifications #832

Closed
opened 2025-11-02 03:38:09 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @Avalancs on GitHub (Jun 21, 2017).

I would like to notify Jenkins when there is a new push, or accepted pull request to the master branch, so it can be built and deployed for testing.
I could trigger the build without the use of the Gogs webhook plugin but the webhook is triggered for any pushes to the repository, not just the master branch.
So I would like to request the ability to create a filter for which branches a webhook should activate.

Originally created by @Avalancs on GitHub (Jun 21, 2017). I would like to notify Jenkins when there is a new push, or accepted pull request to the master branch, so it can be built and deployed for testing. I could trigger the build without the use of the [Gogs webhook plugin](https://wiki.jenkins-ci.org/display/JENKINS/Gogs+Webhook+Plugin ) but the webhook is triggered for any pushes to the repository, not just the master branch. So I would like to request the ability to create a filter for which branches a webhook should activate.
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 03:38:09 -06:00
Author
Owner

@kmadel commented on GitHub (Jun 25, 2017):

Perhaps a Gitea Pipeline Multi-branch plugin for Jenkins. So filter from the Jenkins side, rather than the Gitea side. Although that is an interesting concept and one I don't believe GitHub supports.

@kmadel commented on GitHub (Jun 25, 2017): Perhaps a Gitea Pipeline Multi-branch plugin for Jenkins. So filter from the Jenkins side, rather than the Gitea side. Although that is an interesting concept and one I don't believe GitHub supports.
Author
Owner

@lafriks commented on GitHub (Jun 25, 2017):

I think it should be done on gitea side as I would also like to get slack/mattermost notifications only for specific branches

@lafriks commented on GitHub (Jun 25, 2017): I think it should be done on gitea side as I would also like to get slack/mattermost notifications only for specific branches
Author
Owner

@lafriks commented on GitHub (Jun 25, 2017):

I think it should be done on gitea side as I would also like to get slack/mattermost notifications only for specific branches

@lafriks commented on GitHub (Jun 25, 2017): I think it should be done on gitea side as I would also like to get slack/mattermost notifications only for specific branches
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#832