fix: After uploading the file, ask a question. After completing the question and answer, change the answer and the file will not be uploaded again, resulting in the loss of file information #6655
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: 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/**" | |
| ] | |
| EOF | |
| - name: Check spelling | |
| uses: crate-ci/typos@master | |
| with: | |
| config: ./typo-check-config.toml |