mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Remove markdown dead link check (#4839)
# Objective This fails constantly and causes more pain than it is worth. ## Solution Remove dead link checks. Alternative to #4837, which is more granular but ironically still fails to build. I'm in favor of the nuclear option. Fixes #4575
This commit is contained in:
parent
fed93a0edc
commit
5dd30b6279
3 changed files with 0 additions and 77 deletions
1
.github/bors.toml
vendored
1
.github/bors.toml
vendored
|
@ -7,7 +7,6 @@ status = [
|
|||
"build-wasm (nightly, ubuntu-latest)",
|
||||
"build-android",
|
||||
"markdownlint",
|
||||
"check-markdown-links",
|
||||
"run-examples",
|
||||
"check-doc",
|
||||
"check-missing-examples-in-docs",
|
||||
|
|
27
.github/linters/markdown-link-check.json
vendored
27
.github/linters/markdown-link-check.json
vendored
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^https?://github\\.com/"
|
||||
},
|
||||
{
|
||||
"pattern": "^https?://docs\\.github\\.com/"
|
||||
},
|
||||
{
|
||||
"pattern": "^https?://reddit\\.com/"
|
||||
}
|
||||
],
|
||||
"replacementPatterns": [],
|
||||
"httpHeaders": [
|
||||
{
|
||||
"urls": ["https://crates.io"],
|
||||
"headers": {
|
||||
"Accept": "text/html"
|
||||
}
|
||||
}
|
||||
],
|
||||
"timeout": "20s",
|
||||
"retryOn429": true,
|
||||
"retryCount": 5,
|
||||
"fallbackRetryDelay": "30s",
|
||||
"aliveStatusCodes": [200, 206]
|
||||
}
|
49
.github/workflows/ci.yml
vendored
49
.github/workflows/ci.yml
vendored
|
@ -200,55 +200,6 @@ jobs:
|
|||
# Not needed here as only one Linter is used.
|
||||
#GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
check-markdown-links:
|
||||
runs-on: ubuntu-latest
|
||||
needs: markdownlint
|
||||
if: always()
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: check dead links
|
||||
continue-on-error: true
|
||||
id: run1
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
use-verbose-mode: 'yes'
|
||||
config-file: '.github/linters/markdown-link-check.json'
|
||||
- name: Sleep for 30 seconds
|
||||
if: steps.run1.outcome=='failure'
|
||||
run: sleep 30s
|
||||
shell: bash
|
||||
- name: check dead links (retry)
|
||||
continue-on-error: true
|
||||
id: run2
|
||||
if: steps.run1.outcome=='failure'
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
use-verbose-mode: 'yes'
|
||||
config-file: '.github/linters/markdown-link-check.json'
|
||||
- name: Sleep for 30 seconds
|
||||
if: steps.run2.outcome=='failure'
|
||||
run: sleep 30s
|
||||
shell: bash
|
||||
- name: check dead links (retry 2)
|
||||
continue-on-error: true
|
||||
id: run3
|
||||
if: steps.run2.outcome=='failure'
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@9710f0fec812ce0a3b98bef4c9d842fc1f39d976
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
use-verbose-mode: 'yes'
|
||||
config-file: '.github/linters/markdown-link-check.json'
|
||||
- name: set the status
|
||||
if: always()
|
||||
run: |
|
||||
if ${{ steps.run1.outcome=='success' || steps.run2.outcome=='success' || steps.run3.outcome=='success' }}; then
|
||||
echo success
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run-examples:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue