@@ -30,16 +30,17 @@ jobs:
3030 package_envcommon : ${{ steps.filter.outputs.package_envcommon }}
3131 package_tipcommon : ${{ steps.filter.outputs.package_tipcommon }}
3232 package_integration_testing : ${{ steps.filter.outputs.package_integration_testing }}
33- google_files : ${{ steps.filter.outputs.response_integrations_google_files }}
34- third_party_files : ${{ steps.filter.outputs.response_integrations_third_party_files }}
3533 steps :
3634 - name : Checkout repository
3735 uses : actions/checkout@v4
36+ with :
37+ fetch-depth : 0
3838
3939 - name : Check for changes
4040 uses : dorny/paths-filter@v3
4141 id : filter
4242 with :
43+ base : ${{ github.event.pull_request.base.sha || github.event.before }}
4344 filters : |
4445 response_integrations_google:
4546 - 'content/response_integrations/google/**'
@@ -75,10 +76,12 @@ jobs:
7576 python -m pip install uv
7677 uv pip install --system -e ./packages/mp
7778
78- - name : Run mp Check
79+ - name : Run Check
7980 shell : bash
8081 run : |
81- mp check --static-type-check --raise-error-on-violations --output-format grouped ${{ needs.changes.outputs.google_files }}
82+ mp config --root-path . --processes 10 --display-config
83+ cd content/response_integrations/google
84+ mp check --changed-files --raise-error-on-violations --output-format grouped
8285
8386 lint_third_party :
8487 name : Lint Third-Party Integrations
@@ -101,10 +104,12 @@ jobs:
101104 python -m pip install uv
102105 uv pip install --system -e ./packages/mp
103106
104- - name : Run mp Check
107+ - name : Run Check
105108 shell : bash
106109 run : |
107- mp check --raise-error-on-violations --output-format grouped ${{ needs.changes.outputs.third_party_files }}
110+ mp config --root-path . --processes 10 --display-config
111+ cd content/response_integrations/third_party
112+ mp check --changed-files --raise-error-on-violations --output-format grouped
108113
109114 mp_package_linter :
110115 name : mp Package Linter
@@ -223,4 +228,4 @@ jobs:
223228 run : |
224229 uv sync --dev
225230 source .venv/bin/activate
226- ruff check --output-format grouped
231+ ruff check --output-format grouped
0 commit comments