V10 and V50 section descriptions #1030
Workflow file for this run
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: URL Checker | |
on: | |
pull_request: | |
paths: | |
- '5.0/**' | |
push: | |
branches: | |
- master | |
paths: | |
- '5.0/**' | |
workflow_dispatch: | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set options | |
id: options | |
run: | | |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then | |
echo "check-modified-files-only=yes" >> $GITHUB_OUTPUT | |
echo "use-verbose-mode=yes" >> $GITHUB_OUTPUT | |
else | |
echo "check-modified-files-only=no" >> $GITHUB_OUTPUT | |
echo "use-verbose-mode=no" >> $GITHUB_OUTPUT | |
fi | |
- name: Check URLs | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
check-modified-files-only: ${{ steps.options.outputs.check-modified-files-only }} | |
config-file: .github/workflows/config/url-checker-config.json | |
folder-path: '5.0' | |
use-quiet-mode: yes | |
use-verbose-mode: ${{ steps.options.outputs.use-verbose-mode }} |