diff --git a/content/code-security/dependabot/dependabot-auto-triage-rules/about-dependabot-auto-triage-rules.md b/content/code-security/dependabot/dependabot-auto-triage-rules/about-dependabot-auto-triage-rules.md index b8231a24850c..1978dd84b6da 100644 --- a/content/code-security/dependabot/dependabot-auto-triage-rules/about-dependabot-auto-triage-rules.md +++ b/content/code-security/dependabot/dependabot-auto-triage-rules/about-dependabot-auto-triage-rules.md @@ -28,11 +28,8 @@ There are two types of {% data variables.dependabot.auto_triage_rules %}: ### About {% data variables.dependabot.github_presets %} -{% note %} - -{% data reusables.dependabot.dependabot-github-preset-auto-triage-rules %} - -{% endnote %} +> [!NOTE] +> {% data reusables.dependabot.dependabot-github-preset-auto-triage-rules %} {% data variables.dependabot.github_presets %} are rules curated by {% data variables.product.company_short %}. {% data reusables.dependabot.dismiss-low-impact-rule %} @@ -40,11 +37,8 @@ The rule is enabled by default for public repositories and can be opted into for ### About {% data variables.dependabot.custom_rules %} -{% note %} - -{% data reusables.gated-features.dependabot-custom-auto-triage-rules %} - -{% endnote %} +> [!NOTE] +> {% data reusables.gated-features.dependabot-custom-auto-triage-rules %} With {% data variables.dependabot.custom_rules %}, you can create your own rules to automatically dismiss or reopen alerts based on targeted metadata, such as severity, package name, CWE, and more. You can also specify which alerts you want {% data variables.product.prodname_dependabot %} to open pull requests for. For more information, see "[AUTOTITLE](/code-security/dependabot/dependabot-auto-triage-rules/customizing-auto-triage-rules-to-prioritize-dependabot-alerts)." diff --git a/data/reusables/actions/azure-vnet-hosted-compute-troubleshooting.md b/data/reusables/actions/azure-vnet-hosted-compute-troubleshooting.md index 3d8228dcee3a..7ef8f8d8ecfb 100644 --- a/data/reusables/actions/azure-vnet-hosted-compute-troubleshooting.md +++ b/data/reusables/actions/azure-vnet-hosted-compute-troubleshooting.md @@ -68,6 +68,20 @@ VNetInjectionSubnetIsFull To fix this, either increase the size of the subnet you are using or reduce the pool's maximum runner count to match your subnet size. +### Cannot delete subnet + +In some cases, a subnet cannot be deleted because it has a Service Association Link (SAL) applied to it. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/configuring-private-networking-for-github-hosted-runners-in-your-organization#deleting-a-subnet)." + +If you need to identify the network settings resource associated with the subnet, you can run the following `curl` command. +To obtain an Azure Entra token, please refer to the [Azure documentation](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli). Use the same `api-version` you used to create the resource. + +```shell +curl --request GET \ + --url "https://management.azure.com/subscriptions/{subscriptionId}/providers/GitHub.Network/NetworkSettings?api-version={api-version}&subnetId={subnetId}" \ + --header 'Content-Type: application/json' \ + --header "Authorization: Bearer {entra_token}" +``` + ### Incorrect NSG or firewall rules The "Configuring your Azure resources" procedures list the required openings. However, you may have complex production networks with multiple downstream proxies or firewalls.