Skip to content

Commit

Permalink
Merge pull request #1059 from AmadeusITGroup/feature/md-link-check
Browse files Browse the repository at this point in the history
feat: add github-action-markdown-link-check
  • Loading branch information
vscaiceanu-1a committed Oct 25, 2023
2 parents c0bda14 + 0c032dc commit b0273a4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/check-md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Markdown links

on:
pull_request:
branches:
- master
- 'release/*'

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: '.github/workflows/markdown.links.config.json'
check-modified-files-only: 'yes'
use-verbose-mode: 'yes'
7 changes: 7 additions & 0 deletions .github/workflows/markdown.links.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^https://my-web-app.com"
}
]
}

0 comments on commit b0273a4

Please sign in to comment.