From 9f0127fd098e1d21ac0e9b3d8af9a486db128dbd Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:38:46 +0000 Subject: [PATCH 1/2] Reformat markdown for prettier 3.9.5 --- content/minfraud/release-notes/2015.md | 2 ++ .../whats-new-in-minfraud-score-and-minfraud-insights.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/content/minfraud/release-notes/2015.md b/content/minfraud/release-notes/2015.md index 6950a1466..fdac9fe9c 100644 --- a/content/minfraud/release-notes/2015.md +++ b/content/minfraud/release-notes/2015.md @@ -106,7 +106,9 @@ The following fields are deprecated in version 2.0: - Free Email (freeMail) - High Risk Email (carderEmail) - High risk username and high risk password (highRiskUsername, highRiskPassword) + + - Phone number check against billing postal code (custPhoneInBillingLoc) Country Match (countryMatch) has been replaced by _billing country is in IP diff --git a/content/minfraud/whats-new-in-minfraud-score-and-minfraud-insights.md b/content/minfraud/whats-new-in-minfraud-score-and-minfraud-insights.md index 6b4e4c57c..b2ae96800 100644 --- a/content/minfraud/whats-new-in-minfraud-score-and-minfraud-insights.md +++ b/content/minfraud/whats-new-in-minfraud-score-and-minfraud-insights.md @@ -76,7 +76,9 @@ The following outputs have been removed without a direct replacement. - `highRiskCountry` - `highRiskUsername` - `highRiskPassword` + + - `custPhoneInBillingLoc` ## More Information From 19c5e7c7a18be06d4de23a73f2000844d12f3ee5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 20:39:23 +0000 Subject: [PATCH 2/2] Always lint all files in CI The Precious job only linted files changed in a PR (--git-diff-from), so reformats caused by the PR itself -- such as a dependency bump that changes a formatter's version -- went unnoticed until the post-merge push-to-main run linted everything. The repo is small, so always lint every file on both pull_request and push events. --- .github/workflows/precious.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/precious.yml b/.github/workflows/precious.yml index c4be088df..71bb285c8 100644 --- a/.github/workflows/precious.yml +++ b/.github/workflows/precious.yml @@ -11,8 +11,6 @@ on: jobs: code-formatting: - env: - BASE_REF: ${{ github.base_ref }} runs-on: ubuntu-latest name: Code Formatting steps: @@ -28,20 +26,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Fetch base ref - if: ${{ github.event.pull_request }} - run: git fetch origin "${BASE_REF}" - - - name: Select files - id: select-files - run: | - if [[ -n "${{ github.event.pull_request.number }}" ]]; then - echo "precious-args=--git-diff-from origin/${BASE_REF}" >> "$GITHUB_OUTPUT" - else - echo 'precious-args=--all' >> "$GITHUB_OUTPUT" - fi - + # Always lint every file, even on pull requests. Linting only the files + # changed in a PR misses reformats caused by the PR itself, such as a + # dependency bump that changes a formatter's version and thus reformats + # files outside the diff. The repo is small, so linting everything is cheap. - name: Lint files - run: precious lint ${PRECIOUS_ARGS} - env: - PRECIOUS_ARGS: ${{ steps.select-files.outputs.precious-args }} + run: precious lint --all