Update markdown-link-check to ignore external links causing 403 in CI (#246)
* Update markdown-link-check to ignore external links causing 403 in CI * Apply wildcards on ignored links * Bump version of mlc to latest to gain --ignore-links arg * Do not warn on redirects from markdown-link-check action * Do not warn on redirects from markdown-link-check action * Update comment
This commit is contained in:
parent
03e3094dcc
commit
b9c0f269d6
2 changed files with 6 additions and 2 deletions
6
.github/workflows/markdown-link-check.yml
vendored
6
.github/workflows/markdown-link-check.yml
vendored
|
|
@ -12,5 +12,9 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Markup Link Checker (mlc)
|
||||
uses: becheran/mlc@v0.15.4
|
||||
uses: becheran/mlc@v0.21.0
|
||||
with:
|
||||
# Ignore external links that result in 403 errors during CI. Do not warn for redirects where we want to keep the vanity URL in the markdown or for GitHub links that redirect to the login.
|
||||
args: --ignore-links "https://www.anthropic.com/*,https://hackerone.com/anthropic-vdp/*" --do-not-warn-for-redirect-to "https://modelcontextprotocol.io/*,https://github.com/login?*" ./
|
||||
|
|
|
|||
2
.github/workflows/release.md
vendored
2
.github/workflows/release.md
vendored
|
|
@ -31,7 +31,7 @@ The following process is used when publishing new releases to NuGet.org:
|
|||
3. **Monitor the Release workflow**
|
||||
- After publishing the release, a workflow will begin for producing the release's build artifacts and publishing the NuGet package to NuGet.org
|
||||
- If the job fails, troubleshoot and re-run the workflow as needed
|
||||
- Verify the package version becomes listed on at [https://nuget.org/packages/ModelContextProtocol](https://nuget.org/packages/ModelContextProtocol)
|
||||
- Verify the package version becomes listed on at [https://nuget.org/packages/ModelContextProtocol](https://www.nuget.org/packages/ModelContextProtocol)
|
||||
|
||||
4. **Update the source to increment the version number**
|
||||
- Immediately after publishing a new release, the [`/src/Directory.Build.Props`](../../src/Directory.Build.props) file needs to be updated to bump the version to the next expected release version
|
||||
|
|
|
|||
Loading…
Reference in a new issue