Skip to content

Commit

Permalink
Switch to using linkspector for validating markdown links (#5925)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons authored Oct 1, 2024
1 parent 31a7ec5 commit 4575fe5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 33 deletions.
28 changes: 0 additions & 28 deletions .github/linters/.check-markdown-links.json

This file was deleted.

12 changes: 12 additions & 0 deletions .github/linters/.linkspector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
aliveStatusCodes:
- 200
- 406
dirs:
- .
- .github
excludedDirs:
- eng/readme-templates
ignorePatterns:
- pattern: "^https://github.com/dotnet/release/blob/main/.github/ISSUE_TEMPLATE/dotnet-docker-servicing-release.md"
- pattern: "^l-is-the-package-in-the-linux-distro-base-image"
useGitIgnore: true
8 changes: 4 additions & 4 deletions .github/workflows/check-markdown-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
uses: actions/checkout@v4

- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
uses: umbrelladocs/action-linkspector@v1
with:
config-file: .github/linters/.check-markdown-links.json
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config_file: .github/linters/.linkspector.yml
fail_on_error: true
filter_mode: nofilter
1 change: 1 addition & 0 deletions documentation/supported-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Complete tag lists:
- [aspnet](../README.aspnet.md#full-tag-listing)
- [sdk](../README.sdk.md#full-tag-listing)
- [monitor](../README.monitor.md#full-tag-listing)
- [monitor-base](../README.monitor-base.md#full-tag-listing)
- [aspire-dashboard](../README.aspire-dashboard.md#full-tag-listing)
- [samples](../README.samples.md#full-tag-listing)
- [Microsoft Artifact Registry](https://mcr.microsoft.com/en-us/catalog?search=dotnet/)
Expand Down
14 changes: 13 additions & 1 deletion documentation/vulnerability-reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,19 @@ Rerun the scan of your image using your scanning tool. Ensure you get the latest
When .NET drops support for an image tag, it means it will no longer be updated, even when there is a new base OS image available.
This means that vulnerabilities will be reported for that image over time if it continues to be used.
Our [supported tag policy](supported-tags.md) provides detailed information about when these tags are no longer supported.
The simple rule to follow: only the tags shown in our [tag listing](supported-tags.md#tag-listing) are supported.
The simple rule to follow: only the tags shown in our tag listing are supported:

Complete tag lists:

* [runtime-deps](../README.runtime-deps.md#full-tag-listing)
* [runtime](../README.runtime.md#full-tag-listing)
* [aspnet](../README.aspnet.md#full-tag-listing)
* [sdk](../README.sdk.md#full-tag-listing)
* [monitor](../README.monitor.md#full-tag-listing)
* [monitor-base](../README.monitor-base.md#full-tag-listing)
* [aspire-dashboard](../README.aspire-dashboard.md#full-tag-listing)
* [samples](../README.samples.md#full-tag-listing)
* [Microsoft Artifact Registry](https://mcr.microsoft.com/en-us/catalog?search=dotnet/)

This script can be used to determine if the .NET image tag is supported:

Expand Down

0 comments on commit 4575fe5

Please sign in to comment.