{% extends "coprs/detail/settings.html" %} {% set selected_monitor_tab = "webhooks" %} {%block settings_breadcrumb %}Webhooks{% endblock %} {% block tab_content %}

Webhooks

You can set up automatic builds of your packages coming from Pagure and Github repositories.

How does it work for Pagure repositories

  1. Activate Fedmsg in section 'Hooks' in the project settings.

How does it work for Github repositories

  1. Set a default source of a package in this project.
  2. Enable automatic rebuilds for the package.
  3. Use the webhook URL from this project in your Git (see below).

Copr will now rebuild the package every time it receives the webhook call - usually with every commit.

Webhook URL for GitHub

{{ github_url }}

How to use it:

  1. In your GitHub project, go to Settings / Webhooks and services.
  2. Click on the Add webhook button.
  3. Fill in the Payload URL field with the url above.
  4. Click the Add webhook button.
{% endblock %}