mirror of https://github.com/libp2p/go-libp2p.git
Browse Source
Co-authored-by: Sahib Yar <sahib.yar@securiti.ai> Co-authored-by: Marco Munizaga <marco@marcopolo.io>pull/2297/head
Sahib Yar
1 year ago
committed by
GitHub
5 changed files with 43 additions and 4 deletions
@ -0,0 +1,17 @@ |
|||
name: Markdown Link Checking |
|||
on: |
|||
pull_request: |
|||
push: |
|||
branches: |
|||
- "master" |
|||
|
|||
jobs: |
|||
check-links: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v3 |
|||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 |
|||
with: |
|||
use-quiet-mode: 'yes' # show only broken links |
|||
use-verbose-mode: 'yes' |
|||
config-file: .github/workflows/markdown-links-config.json # for removing any false positives |
@ -0,0 +1,22 @@ |
|||
{ |
|||
"ignorePatterns": [ |
|||
{ |
|||
"pattern": "^http://localhost" |
|||
}, |
|||
{ |
|||
"pattern": "^https://twitter.com/" |
|||
}, |
|||
{ |
|||
"pattern": "^https://opensource.org/" |
|||
} |
|||
], |
|||
"aliveStatusCodes": [200], |
|||
"httpHeaders": [ |
|||
{ |
|||
"urls": ["https://docs.github.com/"], |
|||
"headers": { |
|||
"Accept-Encoding": "*" |
|||
} |
|||
} |
|||
] |
|||
} |
Loading…
Reference in new issue