Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GitHub Actions Workflow to check for typos #40

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
socio-economic
31 changes: 31 additions & 0 deletions .github/workflows/check-typo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# workflows/check-typo.yml
#
# Check Typo
# Check Typo using codespell.

name: Check Typo

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:

concurrency:
group: check-typo-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
check-typo:
name: Check Typo using codespell
runs-on: depot-ubuntu-latest-2
if: github.event.pull_request.draft == false

steps:
- name: Checkout Git Repository
uses: actions/checkout@v4

- name: Check Typo using codespell
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
ignore_words_file: .codespellignore
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ or via [email]([email protected]).

The majority of the development for ParadeDB happens in the [paradedb/paradedb](https://github.com/paradedb/paradedb) monorepo. Pleaser refer to this repository for general development. To develop for this repository, please follow the instructions below.

## Pull Request Worfklow
## Pull Request Workflow

All changes to ParadeDB happen through GitHub Pull Requests. Here is the recommended
flow for making a change:
Expand Down
2 changes: 1 addition & 1 deletion charts/paradedb/docs/Getting Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ helm upgrade --install cnpg \

## Creating a cluster configuration

Once you have the operator installed, the next step is to prepare the cluster configuration. Whether this will be manged
Once you have the operator installed, the next step is to prepare the cluster configuration. Whether this will be managed
via a GitOps solution or directly via Helm is up to you. The following sections outlines the important steps in both cases.

### Choosing the database type
Expand Down
2 changes: 1 addition & 1 deletion charts/paradedb/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If a custom imageName is available, use it, otherwise use the defaults based on

{{/*
Cluster Image
If imageCatalogRef defined, use it, otherwice calculate ordinary imageName.
If imageCatalogRef defined, use it, otherwise calculate ordinary imageName.
*/}}
{{- define "cluster.image" }}
{{- if .Values.cluster.imageCatalogRef.name }}
Expand Down
Loading