🐛 Apply ECS and ECR filters in general and not only during discovery. #10538
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: Spell Checking | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| spelling: | |
| name: Run spell check | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| actions: read | |
| outputs: | |
| followup: ${{ steps.spelling.outputs.followup }} | |
| runs-on: ubuntu-latest | |
| if: "contains(github.event_name, 'pull_request') || github.event_name == 'push'" | |
| concurrency: | |
| group: spelling-${{ github.event.pull_request.number || github.ref }} | |
| # note: If you use only_check_changed_files, you do not want cancel-in-progress | |
| cancel-in-progress: true | |
| steps: | |
| - name: check-spelling | |
| id: spelling | |
| uses: check-spelling/check-spelling@c635c2f3f714eec2fcf27b643a1919b9a811ef2e # v0.0.25 | |
| with: | |
| disable_checks: noisy-file | |
| suppress_push_for_open_pull_request: 1 | |
| checkout: true | |
| post_comment: 0 | |
| dictionary_source_prefixes: '{"mondoo": "https://raw.githubusercontent.com/mondoohq/spellcheck-dictionary/main/", "cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/"}' | |
| extra_dictionaries: cspell:aws/aws.txt | |
| cspell:companies/src/companies.txt | |
| cspell:filetypes/filetypes.txt | |
| cspell:software-terms/src/software-terms.txt | |
| cspell:software-terms/src/software-tools.txt | |
| cspell:k8s/dict/k8s.txt | |
| mondoo:mondoo_dictionary.txt | |
| cspell:golang/dict/go.txt | |
| comment: | |
| name: Report | |
| runs-on: ubuntu-latest | |
| needs: spelling | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| if: (success() || failure()) && needs.spelling.outputs.followup | |
| steps: | |
| - name: comment | |
| uses: check-spelling/check-spelling@c635c2f3f714eec2fcf27b643a1919b9a811ef2e # v0.0.25 | |
| with: | |
| checkout: true | |
| task: ${{ needs.spelling.outputs.followup }} |