fix: Set up a complete knowledge base workflow in the loop body, debu… #7487
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: Typos Check | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| run: | |
| name: Spell Check with Typos | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Actions Repository | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.ref_name }} | |
| - name: Create config file | |
| run: | | |
| cat <<EOF > typo-check-config.toml | |
| [files] | |
| extend-exclude = [ | |
| "**/*_svg", | |
| "**/migrations/**", | |
| "**/loopEdge.ts", | |
| "**/edge.ts", | |
| ] | |
| EOF | |
| - name: Check spelling | |
| uses: crate-ci/typos@master | |
| with: | |
| config: ./typo-check-config.toml |