diff --git a/.github/workflows/path_sync_validate.yaml b/.github/workflows/path_sync_validate.yaml index a8ce38c..eb9ab23 100644 --- a/.github/workflows/path_sync_validate.yaml +++ b/.github/workflows/path_sync_validate.yaml @@ -6,6 +6,10 @@ on: branches-ignore: - main - 'sync/**' + pull_request: + branches-ignore: + - main + - 'sync/**' jobs: validate: @@ -16,4 +20,6 @@ jobs: fetch-depth: 0 - uses: ./.github/actions/setup - name: Validate no changes to synced files - run: uvx path-sync validate-no-changes -b main + env: + GITHUB_BASE_REF: ${{ github.base_ref || 'main' }} + run: uvx path-sync validate-no-changes diff --git a/justfile b/justfile index 3c03ebb..bf1b86c 100644 --- a/justfile +++ b/justfile @@ -37,7 +37,7 @@ vulture: # === DO_NOT_EDIT: path-sync path-sync === path-sync-validate: - uv run path-sync validate-no-changes -n python-template + uv run path-sync validate-no-changes # === OK_EDIT: path-sync path-sync === # === DO_NOT_EDIT: path-sync coverage ===