Regarding this  answer it seems that GitHub doesn't plan to support
webhooks for an individual branch. As for Copr, I am afraid there is no
straightforward solution to it right now. I think we need to implement some
filtering mechanism. I can create RFE about it.
However it is possible to configure it for different branches via GitHub
workflows (see example ), but I think it would be easier to use Packit
for this as Tomas mentioned.
 - https://stackoverflow.com/a/46201893
On Tue, Feb 21, 2023 at 9:02 AM Tomas Tomecek <ttomecek(a)redhat.com> wrote:
Hello, don't know if this is configurable in Copr.
But it certainly is with Packit:
You can configure which branches should be built in Copr. You will also
get commit statuses with links to every build.
On Mon, Feb 20, 2023 at 10:06 PM Gezim Blliku <gezim.blliku(a)itsyscom.com>
> Hi , i am trying to build packages for fedora copr using custom build
> method and also i connected with webhooks to my github repo for every push
> event.My problem is every time i push a commit to a certain branch it will
> generate builds for every branch .I see that github don't support webhooks
> for invidual branch ,i am guessing there is a way to come around this in
> the script .
> copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct:
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> Do not reply to spam, report it:
copr-devel mailing list -- copr-devel(a)lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
Do not reply to spam, report it: