diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml new file mode 100644 index 00000000..529a1656 --- /dev/null +++ b/.github/workflows/markdown-link-check.yml @@ -0,0 +1,30 @@ +name: markdown-link-check + +on: + workflow_dispatch: + push: + branches: + #- main + - add_markdown_link_checker_action + pull_request: + branches: + - main + types: + - opened + - reopened + - synchronize + - ready_for_review + +jobs: + + markdown-link-check: + name: Check markdown links + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@main + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + check-modified-files-only: 'yes' + base-branch: 'main' + config-file: '.github/workflows/mlc-config.json' \ No newline at end of file