Skip to content

Commit ca626ff

Browse files
heiskrCopilot
andauthored
Fix broken external links and add false positives to exclusion list (#60166)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c349299 commit ca626ff

9 files changed

Lines changed: 33 additions & 11 deletions

File tree

content/actions/how-tos/deploy/configure-and-manage-deployments/configure-custom-protection-rules.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ The following is a list of official partner implementations for deployment prote
3737
* Honeycomb: you can define thresholds to reject or approve deployments based on data you are sending to Honeycomb. For more information, see [the Honeycomb app](https://github.com/apps/honeycomb-io) in the {% data variables.product.prodname_marketplace %}.
3838
* New Relic: for more information, see [the New Relic app](https://github.com/apps/new-relic-gate) in the {% data variables.product.prodname_marketplace %}.
3939
* NCM NodeSource: for more information, see [the NCM NodeSource app](https://github.com/apps/ncm-nodesource) in the {% data variables.product.prodname_marketplace %}.
40-
* Sentry: for more information, see [the Sentry Deployment Gate app](https://github.com/apps/sentry-deployment-gate) in the {% data variables.product.prodname_marketplace %}.
4140
* ServiceNow: for more information, see [GitHub integration with DevOps Change Velocity](https://www.servicenow.com/docs/bundle/utah-devops/page/product/enterprise-dev-ops/concept/github-integration-dev-ops.html) in the ServiceNow documentation.
4241

4342
## Prerequisites

content/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When you activate webhooks for your {% data variables.product.prodname_github_ap
3131

3232
### Choosing a webhook URL for development and testing
3333

34-
While you develop and test your app, you can use a webhook payload delivery service like [Smee](https://smee.io/) to capture and forward webhook payloads to your local development environment. Never use Smee for an application in production, because Smee channels are not authenticated or secure. Alternatively, you can use a tool like [ngrok](https://ngrok.com/docs/guides/developer-preview/getting-started/), [localtunnel](https://localtunnel.github.io/www/), or the [Hookdeck Console](https://console.hookdeck.com?provider=github) that exposes your local machine to the internet to receive the payloads.
34+
While you develop and test your app, you can use a webhook payload delivery service like [Smee](https://smee.io/) to capture and forward webhook payloads to your local development environment. Never use Smee for an application in production, because Smee channels are not authenticated or secure. Alternatively, you can use a tool like [ngrok](https://ngrok.com/docs/getting-started/), [localtunnel](https://localtunnel.github.io/www/), or the [Hookdeck Console](https://console.hookdeck.com?provider=github) that exposes your local machine to the internet to receive the payloads.
3535

3636
#### Creating a webhook URL with Smee
3737

content/apps/creating-github-apps/writing-code-for-a-github-app/building-ci-checks-with-a-github-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ The code above gets the full repository name and the head SHA of the commit from
902902
903903
## Step 2.3. Run RuboCop
904904
905-
So far, your code clones the repository and creates check runs using your CI server. Now you'll get into the details of the [RuboCop linter](https://docs.rubocop.org/rubocop/usage/basic_usage.html#code-style-checker) and [checks annotations](/rest/checks/runs#create-a-check-run).
905+
So far, your code clones the repository and creates check runs using your CI server. Now you'll get into the details of the [RuboCop linter](https://docs.rubocop.org/rubocop/latest/usage/getting_started.html) and [checks annotations](/rest/checks/runs#create-a-check-run).
906906
907907
First, you'll add code to run RuboCop and save the style code errors in JSON format.
908908
@@ -1144,7 +1144,7 @@ The following steps will show you how to test that the code works and view the C
11441144
11451145
So far you've created a CI test. In this section, you'll add one more feature that uses RuboCop to automatically fix the errors it finds. You already added the "Fix this" button in [Step 2.5. Update the check run with CI test results](#step-25-update-the-check-run-with-ci-test-results). Now you'll add the code to handle the `requested_action` check run event that's triggered when someone clicks the "Fix this" button.
11461146
1147-
The RuboCop tool offers the `--auto-correct` command-line option to automatically fix the errors it finds. For more information, see [Autocorrecting offenses](https://docs.rubocop.org/rubocop/usage/basic_usage.html#autocorrecting-offenses) in the RuboCop documentation. When you use the `--auto-correct` feature, the updates are applied to the local files on the server. You'll need to push the changes to {% data variables.product.prodname_dotcom %} after RuboCop makes the fixes.
1147+
The RuboCop tool offers the `--auto-correct` command-line option to automatically fix the errors it finds. For more information, see [Autocorrecting offenses](https://docs.rubocop.org/rubocop/latest/usage/autocorrect.html) in the RuboCop documentation. When you use the `--auto-correct` feature, the updates are applied to the local files on the server. You'll need to push the changes to {% data variables.product.prodname_dotcom %} after RuboCop makes the fixes.
11481148
11491149
To push to a repository, your app must have write permissions for "Contents" in a repository. You already set that permission to **Read & write** back in [Step 2.2. Allow RuboCop to clone the test repository](#step-22-allow-rubocop-to-clone-the-test-repository).
11501150

content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/filtering-alerts-in-security-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ All security views have features to help you define filters. These provide an ea
5252

5353
## Applying simple filters
5454

55-
1. In security overview, select the view of your choice on the left navigation panel. For instructions about how to access security overview, see [Accessing security overview for your organization](#accessing-ecurity-overview-for-your-organization) or [Accessing security overview for your enterprise](#accessing-ecurity-overview-for-your-enterprise).
55+
1. In security overview, select the view of your choice on the left navigation panel. For instructions about how to access security overview, see [Accessing security overview for your organization](#accessing-security-overview-for-your-organization) or [Accessing security overview for your enterprise](#accessing-security-overview-for-your-enterprise).
5656
1. Click in the box adjacent to the **{% octicon "filter" aria-hidden="true" aria-label="filter" %} Filter** control. If there is text in the box, delete it. A popup shows available filters for the current view.
5757
1. Select a filter and a value for the filter.
5858
1. Press <kbd>Enter</kbd>.

content/copilot/how-tos/chat-with-copilot/chat-in-ide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ To leave feedback about the {% data variables.copilot.copilot_chat %} extension,
232232
## Further reading
233233

234234
* [AUTOTITLE](/copilot/using-github-copilot/prompt-engineering-for-github-copilot)
235-
* [Using {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/copilot-chat) and [Getting started with {% data variables.copilot.copilot_chat %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/getting-started-chat) in the {% data variables.product.prodname_vscode %} documentation
235+
* [Using {% data variables.copilot.copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/copilot-chat) and [Getting started with {% data variables.product.prodname_copilot %} in {% data variables.product.prodname_vscode_shortname %}](https://code.visualstudio.com/docs/copilot/getting-started) in the {% data variables.product.prodname_vscode %} documentation
236236
* [AUTOTITLE](/copilot/github-copilot-enterprise/copilot-chat-in-github/using-github-copilot-chat-in-githubcom)
237237
* [AUTOTITLE](/copilot/github-copilot-chat/about-github-copilot-chat)
238238
* [AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)

content/rest/guides/delivering-deployments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,14 @@ After the deployment is finished, we set the status to `success`.
173173

174174
## Conclusion
175175

176-
At GitHub, we've used a version of [Heaven](https://github.com/atmos/heaven) to manage
176+
At GitHub, we've used a version of `Heaven` to manage
177177
our deployments for years. A common flow is essentially the same as the
178178
server we've built above:
179179

180180
* Wait for a response on the state of the CI checks (success or failure)
181181
* If the required checks succeed, merge the pull request
182-
* Heaven takes the merged code, and deploys it to staging and production servers
183-
* In the meantime, Heaven also notifies everyone about the build, via [Hubot](https://github.com/github/hubot) sitting in our chat rooms
182+
* `Heaven` takes the merged code, and deploys it to staging and production servers
183+
* In the meantime, `Heaven` also notifies everyone about the build, via [Hubot](https://github.com/github/hubot) sitting in our chat rooms
184184

185185
That's it! You don't need to build your own deployment setup to use this example.
186186
You can always rely on [GitHub integrations](https://github.com/integrations).

content/rest/guides/rendering-data-as-graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Let's jump right in!
2626

2727
First, [register a new application](https://github.com/settings/applications/new) on {% data variables.product.github %}. Set the main and callback
2828
URLs to `http://localhost:4567/`. As [before](/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app), we're going to handle authentication for the API by
29-
implementing a Rack middleware using [sinatra-auth-github](https://github.com/atmos/sinatra_auth_github):
29+
implementing a Rack middleware using [sinatra-auth-github](https://rubygems.org/gems/sinatra_auth_github):
3030

3131
``` ruby
3232
require 'sinatra/auth/github'

content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ According to the International Labour Organization (ILO), [40 million people wer
1515

1616
GitHub deplores the presence and persistence of modern slavery and child labor, and takes seriously its responsibility to ensure that neither modern slavery nor child labor takes place in its supply chain or in any part of its business. ("Modern slavery" in this statement refers to slavery, forced or compulsory labor, trafficking, servitude, and workers who are imprisoned, indentured, or bonded. "Child labor" refers to work performed by someone under 16 years of age, or under 14 for light work, provided it is not confined to periods that interfere with the child's schooling and not in conditions that interfere with the child's health or well-being.)
1717

18-
In accordance with the [UK Modern Slavery Act](https://www.legislation.gov.uk/ukpga/2015/30/section/54/enacted), and in alignment with the [ILO 2014 Protocol to its Forced Labour Convention](https://www.ilo.org/dyn/normlex/en/f?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029), [ILO Declaration on Fundamental Principles and Rights at Work](https://www.ilo.org/ilo-declaration-fundamental-principles-and-rights-work), and [United Nations Sustainable Development Goals target 8.7](https://www.unodc.org/roseap/en/sustainable-development-goals.html#:~:text=Target%208.7%20%2D%20Take%20immediate%20and,labour%20in%20all%20its%20forms), this 2018 Statement Against Modern Slavery and Child Labor ("the Statement") describes the steps GitHub has taken to prevent modern slavery and child labor from occurring in its business or supply chain.
18+
In accordance with the [UK Modern Slavery Act](https://www.legislation.gov.uk/ukpga/2015/30/section/54/enacted), and in alignment with the [ILO 2014 Protocol to its Forced Labour Convention](https://www.ilo.org/dyn/normlex/en/f?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029), [ILO Declaration on Fundamental Principles and Rights at Work](https://www.ilo.org/ilo-declaration-fundamental-principles-and-rights-work), and [United Nations Sustainable Development Goals target 8.7](https://sdgs.un.org/goals/goal8), this 2018 Statement Against Modern Slavery and Child Labor ("the Statement") describes the steps GitHub has taken to prevent modern slavery and child labor from occurring in its business or supply chain.
1919

2020
## GitHub's structure, business, and supply chains
2121

src/links/lib/excluded-links.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,29 @@
113113
- is: https://mywiki.wooledge.org/BashPitfalls
114114
- startsWith: https://code.visualstudio.com/docs/configure/telemetry
115115

116+
# AppSource blocks automated link checkers with 403.
117+
- startsWith: https://appsource.microsoft.com
118+
119+
# gist.github.com search can return transient 500 errors.
120+
- startsWith: https://gist.github.com/search
121+
122+
# enterprise.github.com returns transient errors. Many paths are used
123+
# across docs (/contact, /download, /releases, /login, /license, /support, /trial).
124+
- startsWith: https://enterprise.github.com/releases
125+
- startsWith: https://enterprise.github.com/contact
126+
- startsWith: https://enterprise.github.com/download
127+
- startsWith: https://enterprise.github.com/login
128+
- startsWith: https://enterprise.github.com/license
129+
- startsWith: https://enterprise.github.com/support
130+
- startsWith: https://enterprise.github.com/trial
131+
132+
# developer.github.com can return transient 503 errors.
133+
- startsWith: https://developer.github.com/changes/
134+
- startsWith: https://developer.github.com/enterprise/
135+
136+
# ed25519.cr.yp.to has intermittent connectivity issues.
137+
- is: https://ed25519.cr.yp.to
138+
116139
# npmjs.com blocks automated link checkers with 403.
117140
- startsWith: https://www.npmjs.com
118141

0 commit comments

Comments
 (0)