diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index e5dee7f24..cc903a793 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -48,13 +48,15 @@ jobs: needs: check-fork steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-python@v5 + with: + python-version: "3.14" + - uses: astral-sh/setup-uv@v5 + - run: uv sync --dev - name: Check for changelog fragment - run: | - FRAGMENTS=$(find changelog.d -type f ! -name '.gitkeep' | wc -l) - if [ "$FRAGMENTS" -eq 0 ]; then - echo "::error::No changelog fragment in changelog.d/" - exit 1 - fi + run: uv run towncrier check --compare-with origin/main unit-tests: runs-on: ubuntu-latest diff --git a/changelog.d/changed/553.md b/changelog.d/changed/553.md deleted file mode 100644 index 6c370943f..000000000 --- a/changelog.d/changed/553.md +++ /dev/null @@ -1 +0,0 @@ -Fix and add retirement contribution calibration targets: correct traditional IRA from $25B to $13.2B (SOI 1304), split 401(k) into traditional $482.7B and Roth $85.2B (BEA/FRED × Vanguard share), add Roth IRA at $35.0B (SOI Tables 5 & 6), add self-employed pension ALD at $29.5B (SOI 1304). diff --git a/changelog.d/changed/589.md b/changelog.d/changed/589.md deleted file mode 100644 index a6fc126fa..000000000 --- a/changelog.d/changed/589.md +++ /dev/null @@ -1 +0,0 @@ -Add second-stage QRF imputation for ~60 CPS-only variables (retirement distributions, transfers, SPM components, hours, medical expenses) in the PUF clone half of the extended CPS, using demographics + PUF-imputed income as predictors instead of naive donor duplication. diff --git a/changelog.d/fix-changelog-fragment-check.fixed.md b/changelog.d/fix-changelog-fragment-check.fixed.md new file mode 100644 index 000000000..0f1965c24 --- /dev/null +++ b/changelog.d/fix-changelog-fragment-check.fixed.md @@ -0,0 +1 @@ +Fix the PR changelog fragment check to validate fragments added by the pull request rather than pre-existing files.