Skip to content
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
23 changes: 5 additions & 18 deletions .github/workflows/precious.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:

jobs:
code-formatting:
env:
BASE_REF: ${{ github.base_ref }}
runs-on: ubuntu-latest
name: Code Formatting
steps:
Expand All @@ -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
2 changes: 2 additions & 0 deletions content/minfraud/release-notes/2015.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<!-- cspell:ignore cust -->

- Phone number check against billing postal code (custPhoneInBillingLoc)

Country Match (countryMatch) has been replaced by _billing country is in IP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ The following outputs have been removed without a direct replacement.
- `highRiskCountry`
- `highRiskUsername`
- `highRiskPassword`

<!-- cspell:ignore cust -->

- `custPhoneInBillingLoc`

## More Information
Expand Down