PostHog / charts-clickhouse

Helm chart for deploying PostHog with ClickHouse on your K8s infrastructure
MIT License
57 stars 74 forks source link

GitHub branch protection on `main` #356

Open guidoiaquinti opened 2 years ago

guidoiaquinti commented 2 years ago

Proposed change

We currently can't enable branch protection on main as we have few GH actions relying on it being disabled:

1️⃣ update-docs.yml 2️⃣ bump-version.yml 3️⃣ test-kubetest-store-durations.yaml

Alternative options

Do nothing

Additional context

Update docs could (and in my opinion should) be converted as a pre-commit hook, for the other 2 I don't have solutions yet.

macobo commented 2 years ago

I think this can be solved by setting "Restrict who can push to matching branches" and making sure that commits are made by posthog bot not ourselves. :)