Revert "PHPstan fixes" #2641
This file contains 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
on: | |
push: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- main | |
- '[0-9]+.[0-9]+' | |
name: Spell Check | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Rewrite Changelog to find new mistakes | |
run: awk '1;/Version 7.2.1 - 6 May 2020/{exit}' ChangeLog > latest_Changelog | |
- name: Get dirs to skip | |
id: list_to_csv | |
run: echo "::set-output name=SKIP::$(awk '{print $1}' .github/jobs/data/codespellignorefiles.txt | paste -s -d, -)" | |
- uses: codespell-project/actions-codespell@master | |
with: | |
check_filenames: true | |
ignore_words_file: .github/jobs/data/codespellignorewords.txt | |
skip: ${{ steps.list_to_csv.outputs.SKIP }} |