ci: remove typos/spell checker (#1231)

This commit is contained in:
uncenter authored and GitHub committed 2024-08-23 08:50:34 -04:00
1 parent 435a75fc09
commit cdee7e2065
3 files changed
-37

No files matched your search

-30
View File
@@ -1,30 +0,0 @@
name: Typo Checker
on:
pull_request:
push:
branches: [main]
jobs:
spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for typos
uses: crate-ci/typos@master
id: typos
continue-on-error: true
# 'continue-on-error' will always succeed, we should exit based on the outcome and not the conclusion
# ref: https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
- name: Fail when typos are found in pull request
if: ${{ github.event_name == 'pull_request' && steps.typos.outcome != 'success' }}
run: "exit 1"
# We always want this check to pass on branch 'main' but continue to fail on PRs
- name: Pass on 'main' branch
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
run: "exit 0"
-5
View File
@@ -1,5 +0,0 @@
[default]
locale = "en-us"
[files]
extend-exclude = ["styles/*/*.user.css"]
-2
View File
@@ -1,6 +1,5 @@
{
deno,
typos,
mkShellNoCC,
nodePackages,
...
@@ -8,7 +7,6 @@
mkShellNoCC {
packages = [
deno
typos
nodePackages.prettier
];
}