Skip to main content

Повторное создание веб-перехватчиков

Чтобы помочь восстановиться после неудачных поставок, вы можете повторить доставку веб-перехватчика с последних 3 дней.

About redelivering webhooks

You may want to redeliver a webhook to help you test your application or to recover from server downtime. You can redeliver webhook deliveries that occurred in the past 3 days. GitHub does not automatically redeliver failed deliveries.

Redelivering repository webhooks

Only people with admin access to a repository can redeliver webhooks in that repository.

You can use the GitHub web interface or the REST API to redeliver webhooks for a repository. For more information about using the REST API to redeliver webhooks, see REST API endpoints for repository webhooks.

  1. On GitHub, navigate to the main page of the repository.

  2. Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of a repository header showing the tabs. The "Settings" tab is highlighted by a dark orange outline.

  3. In the "Code and automation" section of the sidebar, click Webhooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Click Recent deliveries. All deliveries from the past 3 days will be listed. If this webhook has not been delivered within the past 3 days, no deliveries will be listed.

  6. Click the delivery GUID for the delivery that you want to redeliver.

  7. Click Redeliver.

Redelivering organization webhooks

Only organization owners can redeliver webhooks in that organization.

You can use the GitHub web interface or the REST API to redeliver webhooks for an organization. For more information about using the REST API to redeliver webhooks, see REST API endpoints for organization webhooks.

  1. On GitHub, navigate to the main page of the organization.

  2. Under your organization name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

    Screenshot of the tabs in an organization's profile. The "Settings" tab is outlined in dark orange.

  3. In the "Code and automation" section of the sidebar, click Webhooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Click Recent deliveries. All deliveries from the past 3 days will be listed. If this webhook has not been delivered within the past 3 days, no deliveries will be listed.

  6. Click the delivery GUID for the delivery that you want to redeliver.

  7. Click Redeliver.

Redelivering GitHub App webhooks

The owner of a GitHub App can redeliver webhooks for the app. If an organization has designated any app managers for a GitHub App owned by the organization, the app managers can also redeliver webhooks.

You can use the GitHub web interface or the REST API to redeliver webhooks for a GitHub App. For more information about using the REST API redeliver, see REST API endpoints for GitHub App webhooks.

  1. In the upper-right corner of any page on GitHub, click your profile photo.

  2. Navigate to your account settings.

    • For an app owned by a personal account, click Settings.
    • For an app owned by an organization:
      1. Click Your organizations.
      2. To the right of the organization, click Settings.
  3. In the left sidebar, click Developer settings.

  4. In the left sidebar, click GitHub Apps.

  5. Next to the GitHub App that you want to redeliver a webhook for, click Edit.

  6. In the sidebar, click Advanced.

  7. Under "Recent deliveries", all deliveries from the past 3 days will be listed. If this webhook has not been delivered within the past 3 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present.

    Click the delivery GUID for the delivery that you want to redeliver.

    Screenshot of the "Recent deliveries" list for a webhook. A delivery GUID in the list of deliveries is highlighted with an orange outline.

  8. Click Redeliver.

Redelivering GitHub Marketplace webhooks

The owner of a GitHub App can redeliver GitHub Marketplace webhooks for that app. If an organization has designated any app managers for a GitHub App owned by the organization, the app managers can also redeliver webhooks.

  1. Navigate to your GitHub Marketplace listing page.

  2. Next to the GitHub Marketplace listing for which you want to redeliver webhooks, click Manage listing.

  3. In the sidebar, click Webhook.

  4. Under "Recent deliveries", all deliveries from the past 3 days will be listed. If this webhook has not been delivered within the past 3 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present.

    Click the delivery GUID for the delivery that you want to redeliver.

    Screenshot of the "Recent deliveries" list for a webhook. A delivery GUID in the list of deliveries is highlighted with an orange outline.

  5. Click Redeliver.

Redelivering GitHub Sponsors webhooks

Only the owner of the sponsored account can redeliver sponsorship webhooks for that account.

  1. In the upper-right corner of any page, click your profile photo, then click Your sponsors.

  2. Next to the account for which you want to redeliver webhooks, click Dashboard.

  3. In the sidebar, click Webhooks.

  4. In the list of webhooks, click the URL of the webhook you'd like to redeliver. If you do not have a webhook configured, no webhooks will be listed.

    Screenshot of a list of webhooks. The URL link to view a webhook is highlighted with an orange outline.

  5. Under "Recent deliveries", all deliveries from the past 3 days will be listed. If this webhook has not been delivered within the past 3 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present.

    Click the delivery GUID for the delivery that you want to redeliver.

    Screenshot of the "Recent deliveries" list for a webhook. A delivery GUID in the list of deliveries is highlighted with an orange outline.

  6. Click Redeliver.