Unverified Commit 44d8edea authored by Josh Soref's avatar Josh Soref Committed by GitHub

ci(spelling): automatically accept aliased commands (#10475)

Co-authored-by: 's avatarJosh Soref <jsoref@users.noreply.github.com>
parent 29b344a7
...@@ -22,6 +22,7 @@ acr ...@@ -22,6 +22,7 @@ acr
acroread acroread
acs acs
acsc acsc
acss
acsp acsp
actionformats actionformats
Adamantium Adamantium
...@@ -1459,6 +1460,7 @@ gpr ...@@ -1459,6 +1460,7 @@ gpr
gpristine gpristine
gpsup gpsup
gpu gpu
gpus
gpv gpv
gradle gradle
gradlew gradlew
...@@ -2396,6 +2398,7 @@ mirrorlist ...@@ -2396,6 +2398,7 @@ mirrorlist
mixin mixin
mkcd mkcd
mkdir mkdir
mkdirs
mktag mktag
mktemp mktemp
mktree mktree
......
...@@ -30,6 +30,14 @@ jobs: ...@@ -30,6 +30,14 @@ jobs:
- name: checkout - name: checkout
if: github.event_name == 'push' if: github.event_name == 'push'
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: find aliases
run: |
for a in $(git ls-files|grep '\.zsh$'); do
echo "-- $a"
if [ -s "$a" ]; then
perl -ne 'next unless s/^alias ([A-Za-z]{3,})=.*/$1/;print' "$a" | tee -a .github/actions/spelling/allow.txt
fi
done;
- name: check-spelling - name: check-spelling
id: spelling id: spelling
uses: check-spelling/check-spelling@prerelease uses: check-spelling/check-spelling@prerelease
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment