Actions are changed from default branch to version-specified. #511
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: Spelling & Styles | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.md' | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '3 2 1 * *' | |
| jobs: | |
| vale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Vale Linting | |
| uses: errata-ai/vale-action@v2 | |
| with: | |
| files: '["patterns/2-structured/", "patterns/3-validated/"]' | |
| vale_flags: "--glob=*.md" | |
| filter_mode: added | |
| debug: true |