mirror of
https://github.com/microsoft/terminal.git
synced 2026-01-31 09:02:42 -05:00
* Cleaning up the whitelist a bit.
* The magic to exclude repeated characters worked 👍
* Every successful run on master now logs its suggested cleanup, e.g. for 5740e197c2 has https://github.com/microsoft/terminal/runs/596271627#step:4:37
* ⚠️ This check-spelling 0.0.15a+ tolerates Windows line endings in the `whitelist.txt` file (another project I touched had some `.gitconfig` magic which required supporting them).
This means that if someone edits the file w/ something that likes Windows line endings, the file will successfully convert (instead of it being ignored and check-spelling complaining about everything). Most likely anyone else who then edits the file will use something that will maintain the line endings.
21 lines
469 B
YAML
21 lines
469 B
YAML
name: Spell checking
|
|
on:
|
|
push:
|
|
schedule:
|
|
# * is a special character in YAML so you have to quote this string
|
|
- cron: '15 * * * *'
|
|
|
|
jobs:
|
|
build:
|
|
name: Spell checking
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.0.0
|
|
with:
|
|
fetch-depth: 5
|
|
- uses: check-spelling/check-spelling@0.0.15-alpha
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
bucket: .github/actions
|
|
project: spell-check
|