diff --git a/.github/workflow/spellcheck.yml b/.github/workflows/spellcheck.yml similarity index 53% rename from .github/workflow/spellcheck.yml rename to .github/workflows/spellcheck.yml index a2dd364..f7d123f 100644 --- a/.github/workflow/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -12,7 +12,7 @@ permissions: jobs: spellcheck: - name:"spellcheck" + name: "spell" runs-on: ubuntu-latest steps: - name: "Checkout repository" @@ -22,4 +22,18 @@ jobs: run: sudo apt install ispell - name: "Run spellchecker" - run: cat Seasick-Brewing.md | ispell -p brewing.en_US -l + run: cat Seasick-Brewing.md | ispell -p brewing.en_US -l | sort | uniq + + report: + name: "report" + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + with: + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: ${{ steps.spell.outputs.stdout }} + }) diff --git a/README.md b/README.md index 162d9b1..21cd8d9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ To check spelling: ``` sh -cat Seasick-Brewing.md | ispell -p brewing.en_US -l +cat Seasick-Brewing.md | ispell -p brewing.en_US -l | sort | uniq ``` The file `brewing.en_US` contains words not in the standard dictionary that diff --git a/Seasick-Brewing.md b/Seasick-Brewing.md index a785969..5abb062 100644 --- a/Seasick-Brewing.md +++ b/Seasick-Brewing.md @@ -82,7 +82,7 @@ The second use of water is as a thermal reservoir, generally to cool the wort very quickly. In this case, brewing on a boat provides several new options as there is an effectively limitless thermal reservoir in the ocean or lake (assuming we are not talking about -industrial scale brewing). There may be local enviornmental considerations +industrial scale brewing). There may be local environmental considerations when docked that would need to be approved and sorted with local departments of natural resources - as even large air conditioning units in buildings are prohibited from dumbing otherwise untainted water diff --git a/brewing.en_US b/brewing.en_US index 7741866..628fac5 100644 --- a/brewing.en_US +++ b/brewing.en_US @@ -15,9 +15,9 @@ brewhouse repurposed thermoelectric APA -CO2 Kegging Mitigations mitigations fermentable taproom +Reinheitsgebot