diff --git a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity-in-your-enterprise/managing-global-webhooks.md b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity-in-your-enterprise/managing-global-webhooks.md index 8c07e70999..724f599e32 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity-in-your-enterprise/managing-global-webhooks.md +++ b/content/admin/monitoring-activity-in-your-enterprise/exploring-user-activity-in-your-enterprise/managing-global-webhooks.md @@ -79,4 +79,4 @@ For example, you can configure {% data variables.location.product_location %} to ## Viewing recent deliveries and responses -You can view details about webhook deliveries that occurred in the past 30 days. For more information, see "[AUTOTITLE](/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries)." +You can view details about webhook deliveries that occurred in the past {% data variables.webhooks.retention %} days. For more information, see "[AUTOTITLE](/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries)." diff --git a/content/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks.md b/content/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks.md index 46a8d01fbd..1e89f872d9 100644 --- a/content/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks.md +++ b/content/webhooks/testing-and-troubleshooting-webhooks/redelivering-webhooks.md @@ -1,6 +1,6 @@ --- title: Redelivering webhooks -intro: 'To help recover from failed deliveries, you can redeliver webhook deliveries from the past 30 days.' +intro: 'To help recover from failed deliveries, you can redeliver webhook deliveries from the past {% data variables.webhooks.retention %} days.' versions: fpt: '*' ghes: '*' @@ -12,7 +12,7 @@ topics: ## 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 30 days. {% data variables.product.company_short %} does not automatically redeliver failed deliveries. +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 {% data variables.webhooks.retention %} days. {% data variables.product.company_short %} does not automatically redeliver failed deliveries. ## Redelivering repository webhooks diff --git a/content/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries.md b/content/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries.md index 0b12d14048..89b375efe9 100644 --- a/content/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries.md +++ b/content/webhooks/testing-and-troubleshooting-webhooks/viewing-webhook-deliveries.md @@ -1,6 +1,6 @@ --- title: Viewing webhook deliveries -intro: 'You can view details about webhook deliveries from the past 30 days.' +intro: 'You can view details about webhook deliveries from the past {% data variables.webhooks.retention %} days.' versions: fpt: '*' ghes: '*' @@ -12,7 +12,7 @@ topics: ## About webhook deliveries -You can view details about webhook deliveries that occurred in the past 30 days. Viewing past deliveries can help you verify whether your webhooks are working as expected. +You can view details about webhook deliveries that occurred in the past {% data variables.webhooks.retention %} days. Viewing past deliveries can help you verify whether your webhooks are working as expected. For each webhook delivery, you can view: diff --git a/data/reusables/webhooks/webhook_recent_deliveries.md b/data/reusables/webhooks/webhook_recent_deliveries.md index 1267cbad03..1deb66ccba 100644 --- a/data/reusables/webhooks/webhook_recent_deliveries.md +++ b/data/reusables/webhooks/webhook_recent_deliveries.md @@ -1,4 +1,4 @@ -1. Under "Recent deliveries", all deliveries from the past 30 days will be listed. If this webhook has not been delivered within the past 30 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present. +1. Under "Recent deliveries", all deliveries from the past {% data variables.webhooks.retention %} days will be listed. If this webhook has not been delivered within the past {% data variables.webhooks.retention %} days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present. Click a delivery GUID to view details. diff --git a/data/reusables/webhooks/webhook_recent_deliveries_redeliver.md b/data/reusables/webhooks/webhook_recent_deliveries_redeliver.md index e5f93844ad..576e69c3d4 100644 --- a/data/reusables/webhooks/webhook_recent_deliveries_redeliver.md +++ b/data/reusables/webhooks/webhook_recent_deliveries_redeliver.md @@ -1,4 +1,4 @@ -1. Under "Recent deliveries", all deliveries from the past 30 days will be listed. If this webhook has not been delivered within the past 30 days, no deliveries will be listed. If webhooks are not active, the "Recent Deliveries" section will not be present. +1. Under "Recent deliveries", all deliveries from the past {% data variables.webhooks.retention %} days will be listed. If this webhook has not been delivered within the past {% data variables.webhooks.retention %} 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. diff --git a/data/reusables/webhooks/webhook_recent_deliveries_tab.md b/data/reusables/webhooks/webhook_recent_deliveries_tab.md index bd24013ab3..cf2d11030e 100644 --- a/data/reusables/webhooks/webhook_recent_deliveries_tab.md +++ b/data/reusables/webhooks/webhook_recent_deliveries_tab.md @@ -1 +1 @@ -1. Click **Recent deliveries**. All deliveries from the past 30 days will be listed. If this webhook has not been delivered within the past 30 days, no deliveries will be listed. +1. Click **Recent deliveries**. All deliveries from the past {% data variables.webhooks.retention %} days will be listed. If this webhook has not been delivered within the past {% data variables.webhooks.retention %} days, no deliveries will be listed. diff --git a/data/variables/webhooks.yml b/data/variables/webhooks.yml new file mode 100644 index 0000000000..5daccf3df3 --- /dev/null +++ b/data/variables/webhooks.yml @@ -0,0 +1 @@ +retention: '{% ifversion fpt or ghec %}3{% else %}30{% endif %}'