Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci: add required spell check job and lock typos action to v1.45.0 (#11756)

Hrithikesh1820fc8f77fa
diff --git a/.github/workflows/CI-pr.yml b/.github/workflows/CI-pr.yml
index af061c559d..60633ed05f 100644
--- a/.github/workflows/CI-pr.yml
+++ b/.github/workflows/CI-pr.yml
@@ -236,7 +236,7 @@ jobs:
uses: actions/checkout@v6
- name: Spell check specific directories
- uses: crate-ci/typos@master
+ uses: crate-ci/[email protected]
with:
files: |
api-reference/
diff --git a/.github/workflows/CI-push.yml b/.github/workflows/CI-push.yml
index 2d3543774e..40eb54f242 100644
--- a/.github/workflows/CI-push.yml
+++ b/.github/workflows/CI-push.yml
@@ -242,6 +242,28 @@ jobs:
- name: Spell check
uses: crate-ci/typos@master
+ typos-required:
+ name: Spell check specific critical directories
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v6
+
+ - name: Spell check specific directories
+ uses: crate-ci/[email protected]
+ with:
+ files: |
+ api-reference/
+ crates/api_models/
+ crates/common_utils/
+ crates/common_enums/
+ crates/diesel_models/
+ migrations/
+ v2_migrations/
+ v2_compatible_migrations/
+ config/
+ docs/
+
check-v2:
name: Check compilation for V2 features
runs-on: ubuntu-latest
diff --git a/crates/api_models/src/payments.rs b/crates/api_models/src/payments.rs
index d56ad1cf80..2b1deddc72 100644
--- a/crates/api_models/src/payments.rs
+++ b/crates/api_models/src/payments.rs
@@ -11679,11 +11679,11 @@ pub struct BoletoAdditionalDetails {
#[serde(default, with = "common_utils::custom_serde::date_only_optional")]
pub due_date: Option<PrimitiveDateTime>,
/// It tells the bank what type of commercial document created the boleto. Why does this boleto exist? What kind of transaction or contract caused it?
- /// Depcreated since it has been moved to connector_metadata
+ /// Deprecated since it has been moved to connector_metadata
#[schema(value_type = Option<BoletoDocumentKind>, example="commercial_invoice", deprecated)]
pub document_kind: Option<common_enums::BoletoDocumentKind>,
/// This field tells the bank how the boleto can be paid — whether the payer must pay the exact amount, can pay a different amount, or pay in parts.
- /// Depcreated since it has been moved to connector_metadata
+ /// Deprecated since it has been moved to connector_metadata
#[schema(value_type = Option<BoletoPaymentType>, example="fixed_amount", deprecated)]
pub payment_type: Option<common_enums::BoletoPaymentType>,
// It is a number which shows a contract between merchant and bank