Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): narrow the weekly ownership lint checkout (#129848)

posthog[bot]6fd192b09574
diff --git a/.github/workflows/ci-owners-live-lint.yml b/.github/workflows/ci-owners-live-lint.yml
index eaf741562498..e4686f6e14be 100644
--- a/.github/workflows/ci-owners-live-lint.yml
+++ b/.github/workflows/ci-owners-live-lint.yml
@@ -30,8 +30,21 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- # Plain checkout: the lint reads every owners.yaml and product.yaml in the tree.
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /.github/actions/setup-uv/
+ /bin/hogli
+ /hogli.yaml
+ /pyproject.toml
+ /uv.lock
+ /tools/hogli/
+ /tools/hogli-commands/
+ /packages/owners-yaml/
+ /packages/personhog-proto/pyproject.toml
+ **/owners.yaml
+ **/product.yaml
+ sparse-checkout-cone-mode: false
# Default GITHUB_TOKEN can't list /repos/{repo}/teams (needs org-level
# `members: read`). Reuse the assign-reviewers app — same secret, same