Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using linkspector for validating markdown links #5925

Merged
merged 4 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
- .
lbussell marked this conversation as resolved.
Show resolved Hide resolved
- .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:
MichaelSimons marked this conversation as resolved.
Show resolved Hide resolved

* [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