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 f43095a
Show file tree
Hide file tree
Showing 4 changed files with 33 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.

19 changes: 19 additions & 0 deletions .github/workflows/markdown-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check Markdown Links
on:
schedule:
- cron: '0 0 * * *' # Runs at midnight every day

jobs:
markdown-link-check:
runs-on: ubuntu-latest

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

- name: Check for dead links in Markdown files
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 f43095a

Please sign in to comment.