MXS-6032 Add semi-synchronous failover tutorial #90
Workflow file for this run
This file contains hidden or 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: Check Links in PR | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get changed files | |
| id: changes | |
| uses: tj-actions/changed-files@v45 | |
| with: | |
| files: | | |
| **.md | |
| **.html | |
| - name: Scan for broken links | |
| if: steps.changes.outputs.any_changed == 'true' | |
| uses: lycheeverse/[email protected] | |
| with: | |
| # --no-progress keeps logs clean | |
| # The variable at the end passes only the changed files to Lychee | |
| args: --no-progress ${{ steps.changes.outputs.all_changed_files }} | |
| fail: true | |
| - name: 📖 Help & Documentation | |
| if: failure() | |
| run: | | |
| echo "### ❌ Link Check Failed?" >> $GITHUB_STEP_SUMMARY | |
| echo "Don't panic! We have a guide on how to fix this quickly." >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "👉 [**Read the SOP: How to Fix Link Errors**](https://mariadbcorp.atlassian.net/wiki/spaces/DOCS/pages/3284140040/Pull+Requests#Method-1%3A-The-%22Quick-Fix%22-(Recommended))" >> $GITHUB_STEP_SUMMARY |