From 03803d42092319498d8db8d734f37d23efd73528 Mon Sep 17 00:00:00 2001 From: Marta Paciorkowska Date: Thu, 30 Apr 2026 12:25:11 +0200 Subject: [PATCH 1/2] feat(helm-lint): Send action analytics to PostHog --- .github/actions/helm-lint/action.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/actions/helm-lint/action.yml b/.github/actions/helm-lint/action.yml index 97a5781..7b38422 100644 --- a/.github/actions/helm-lint/action.yml +++ b/.github/actions/helm-lint/action.yml @@ -48,3 +48,12 @@ runs: --quiet \ "${GHA_HELM_LINT_CHART}" \ -f "${GHA_HELM_LINT_CHART}/env/${GHA_HELM_LINT_VALUES}" + - id: send-analytics + name: Send analytics to PostHog + uses: entur/gha-meta/.github/actions/posthog@e27fa4579248d4792b933ef0d0f240346676a25d # 1.8.0 + if: always() + with: + api_key: ${{ vars.ENTUR_PLATTFORM_POSTHOG_API }} + gha_repository: entur/gha-helm # This must be hardcoded to the repository where the workflow is defined. + workflow_inputs: ${{ toJSON(inputs) }} + workflow_name: helm-lint From 99e7cc99f3061fdb6e75b689616a6d7687d3521a Mon Sep 17 00:00:00 2001 From: Marta Paciorkowska Date: Thu, 30 Apr 2026 12:57:21 +0200 Subject: [PATCH 2/2] Rename org variable --- .github/actions/helm-lint/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/helm-lint/action.yml b/.github/actions/helm-lint/action.yml index 7b38422..5dbafe5 100644 --- a/.github/actions/helm-lint/action.yml +++ b/.github/actions/helm-lint/action.yml @@ -53,7 +53,7 @@ runs: uses: entur/gha-meta/.github/actions/posthog@e27fa4579248d4792b933ef0d0f240346676a25d # 1.8.0 if: always() with: - api_key: ${{ vars.ENTUR_PLATTFORM_POSTHOG_API }} + api_key: ${{ vars.POSTHOG_API_TOKEN_PLATTFORM }} gha_repository: entur/gha-helm # This must be hardcoded to the repository where the workflow is defined. workflow_inputs: ${{ toJSON(inputs) }} workflow_name: helm-lint