Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:green_heart: Dont run on auto-submitted branches

Alicia Sykesde49b5bb81f4
diff --git a/.github/workflows/code-spell-check.yml b/.github/workflows/code-spell-check.yml
index 8227529c..6ed63668 100644
--- a/.github/workflows/code-spell-check.yml
+++ b/.github/workflows/code-spell-check.yml
@@ -1,4 +1,4 @@
-# Finds typos in the English language file, and submits a PR with fixes
+# Finds typos in the English language within the app, submits a PR with fixes
name: Auto-Fix Spelling
on:
- push
@@ -6,13 +6,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: sobolevn/misspell-fixer-action@master
- - uses: peter-evans/[email protected]
+ - name: Checkout
+ if: startsWith(github.head_ref, 'AUTO/') == false
+ uses: actions/checkout@v2
+ - name: Spell Check
+ if: startsWith(github.head_ref, 'AUTO/') == false
+ uses: sobolevn/misspell-fixer-action@master
+ - name: Create PR
+ uses: peter-evans/[email protected]
+ if: startsWith(github.head_ref, 'AUTO/') == false
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
- commit-message: ':pencil2: Auto-fix typos in translations file'
- title: '[AUTO] Fix spelling in language file'
+ commit-message: ':pencil2: Auto-fix typos in text'
+ title: '[AUTO] Fix spelling and language'
branch: 'AUTO/spelling-corrections'
committer: 'Liss-Bot <[email protected]>'
assignees: Lissy93