Maxscale 22.08, 23.02, 23.08 and 24.02 release notes. #88
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 for common misspellings in PR | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| codespell-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 for common misspellings in text files | |
| if: steps.changes.outputs.any_changed == 'true' | |
| uses: codespell-project/actions-codespell@v2 | |
| with: | |
| check_filenames: true | |
| path: ${{ steps.changes.outputs.all_changed_files }} | |
| - name: 📖 Help & Documentation | |
| if: failure() | |
| run: | | |
| echo "### ❌ Spell Check Failed?" >> $GITHUB_STEP_SUMMARY | |
| echo "Found a typo or a false positive? Check the guide:" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "👉 [**Read the SOP: How to Fix Spell Check Errors**](https://mariadbcorp.atlassian.net/wiki/spaces/DOCS/pages/3284140040/Pull+Requests#Method-1%3A-The-%22Quick-Fix%22-(Recommended))" >> $GITHUB_STEP_SUMMARY |