|
25 | 25 |
|
26 | 26 | jobs: |
27 | 27 | spelling: |
28 | | - name: Check Spelling |
29 | | - runs-on: ubuntu-latest |
30 | | - permissions: |
31 | | - contents: read |
32 | | - pull-requests: read |
33 | | - actions: read |
34 | | - security-events: write |
35 | | - outputs: |
36 | | - followup: ${{ steps.spelling.outputs.followup }} |
37 | | - if: ${{ github.event_name == 'pull_request' || github.event_name == 'push'}} |
38 | | - concurrency: |
39 | | - group: spelling-${{ github.event.pull_request.number || github.ref }} |
40 | | - steps: |
41 | | - - name: check-spelling |
42 | | - id: spelling |
43 | | - uses: check-spelling/check-spelling@main |
44 | | - with: |
45 | | - suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }} |
46 | | - checkout: true |
47 | | - check_file_names: 0 |
48 | | - spell_check_this: check-spelling/spell-check-this@main |
49 | | - use_magic_file: 1 |
50 | | - report-timing: 1 |
51 | | - warnings: bad-regex,deprecated-feature,large-file,limited-references,noisy-file,non-alpha-in-dictionary,token-is-substring,whitespace-in-dictionary,unsupported-configuration,no-files-to-check |
52 | | - output: sarif |
53 | | - use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} |
54 | | - extra_dictionary_limit: 20 |
55 | | - extra_dictionaries: cspell:software-terms/dict/softwareTerms.txt |
56 | | - sarif_file: results.sarif |
| 28 | + - name: Check Spelling |
| 29 | + runs-on: ubuntu-latest |
| 30 | + permissions: |
| 31 | + contents: read |
| 32 | + pull-requests: read |
| 33 | + actions: read |
| 34 | + security-events: write |
| 35 | + outputs: |
| 36 | + followup: ${{ steps.spelling.outputs.followup }} |
| 37 | + if: ${{ github.event_name == 'pull_request' || github.event_name == 'push'}} |
| 38 | + concurrency: |
| 39 | + group: spelling-${{ github.event.pull_request.number || github.ref }} |
| 40 | + steps: |
| 41 | + - name: check-spelling |
| 42 | + id: spelling |
| 43 | + uses: check-spelling/check-spelling@main |
| 44 | + with: |
| 45 | + suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }} |
| 46 | + checkout: true |
| 47 | + check_file_names: 0 |
| 48 | + spell_check_this: check-spelling/spell-check-this@main |
| 49 | + use_magic_file: 1 |
| 50 | + report-timing: 1 |
| 51 | + warnings: bad-regex,deprecated-feature,large-file,limited-references,noisy-file,non-alpha-in-dictionary,token-is-substring,whitespace-in-dictionary,unsupported-configuration,no-files-to-check |
| 52 | + output: sarif |
| 53 | + use_sarif: ${{ (!github.event.pull_request || (github.event.pull_request.head.repo.full_name == github.repository)) && 1 }} |
| 54 | + extra_dictionary_limit: 20 |
| 55 | + extra_dictionaries: cspell:software-terms/dict/softwareTerms.txt |
| 56 | + sarif_file: results.sarif |
| 57 | + - name: Upload SARIF to GitHub Code Scanning |
| 58 | + uses: github/codeql-action/upload-sarif@v3 |
| 59 | + with: |
| 60 | + sarif_file: results.sarif |
57 | 61 |
|
58 | 62 | comment-push: |
59 | 63 | name: Report (Push) |
|
0 commit comments