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

Add codespell workflow (replaces misspell) #210

Merged
merged 1 commit into from
Feb 27, 2024
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
4 changes: 4 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
skip = .git,*.pdf,*.svg,*.csv,pnpm-lock.yaml,*/wwwroot
# some modules, parts of regexes, and variable names to ignore
ignore-words-list = aci
21 changes: 21 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Codespell

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
20 changes: 0 additions & 20 deletions .github/workflows/misspell.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Description>Support for storing data proection keys using MongoDB in AspNetCore</Description>
<Description>Support for storing data protection keys using MongoDB in AspNetCore</Description>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tingle.Extensions.Caching.MongoDB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The implementation provides two distinct options:

### Use an existing instance of a MongoClient

This option will make the provider re-use an existing `MongoClient` instance, which won't be disposed when the provider is disposed.
This option will make the provider reuse an existing `MongoClient` instance, which won't be disposed when the provider is disposed.

```c-sharp
services.AddMongoCache((MongoCacheOptions cacheOptions) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public OAuthClientCredentialHandler(HttpMessageHandler innerHandler, HttpClient?

/// <summary>
/// The duration of before expiry of the token that it should be renewed.
/// Defaults to 10 seconds; minumum 5 seconds.
/// Defaults to 10 seconds; minimum 5 seconds.
/// </summary>
public virtual TimeSpan RenewalThreshold { get; set; } = TimeSpan.FromSeconds(5);

Expand Down