Skip to content

Commit

Permalink
add markdown link checker action
Browse files Browse the repository at this point in the history
  • Loading branch information
laurasootes committed Jan 25, 2024
1 parent 8900ce6 commit ea09176
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit ea09176

Please sign in to comment.