diff --git a/.github/actions/helm-lint/action.yml b/.github/actions/helm-lint/action.yml index 97a5781..5dbafe5 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.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