compatible with 1.20.20-preview.22 #652
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Link Checker' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [ labeled ] | |
jobs: | |
markdown-link-check: | |
## this action only runs in one of the following conditons | |
## PR is labelled with docs tag | |
## It's a push commit | |
if: ${{ (github.event.label.name == 'docs' && github.event_name == 'pull_request') || github.event_name == 'push' }} | |
name: 'Check Links' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Markdown links check | |
uses: ruzickap/action-my-markdown-link-checker@v1 | |
with: | |
exclude: | | |
docs/ |