Skip to content

Commit

Permalink
Updated CI rules
Browse files Browse the repository at this point in the history
  • Loading branch information
mauran committed Dec 12, 2023
1 parent d92a558 commit 6c9a38e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 18 deletions.
13 changes: 13 additions & 0 deletions .github/markdown-link-check-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"timeout": 60,
"aliveStatusCodes": [
200,
201,
202,
403
],
"retryOn429": true,
"retryCount": 3,
"fallbackRetryDelay": "5s",
"maxConcurrentRequests": 100
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"http-status-ignore": ["429", "500", "503"],
"http-status-ignore": ["429", "500", "503", "403"],
"ignorePatterns": [
{ "pattern": "^http://ignored" }
]
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/blank.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/markdown-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
jobs:
check-links:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Check for dead links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config-file: '.github/markdown-link-check-config.json'

0 comments on commit 6c9a38e

Please sign in to comment.