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 suport for spell checking PR title (#2755)

Chethan Rao6ab79e6fe8b8
diff --git a/.github/workflows/conventional-commit-check.yml b/.github/workflows/pr-title-check.yml
similarity index 90%
rename from .github/workflows/conventional-commit-check.yml
rename to .github/workflows/pr-title-check.yml
index c02d8a3bfb..8c15246f0e 100644
--- a/.github/workflows/conventional-commit-check.yml
+++ b/.github/workflows/pr-title-check.yml
@@ -1,4 +1,4 @@
-name: Conventional Commit Message Check
+name: PR Title Checks
on:
# This is a dangerous event trigger as it causes the workflow to run in the
@@ -35,6 +35,19 @@ env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
+ typos:
+ name: Spell check PR title
+ runs-on: ubuntu-latest
+ steps:
+ - name: Store PR title in a file
+ shell: bash
+ run: echo '${{ github.event.pull_request.title }}' > pr_title.txt
+
+ - name: Spell check
+ uses: crate-ci/typos@master
+ with:
+ files: ./pr_title.txt
+
pr_title_check:
name: Verify PR title follows conventional commit standards
runs-on: ubuntu-latest