From c9ccfea5435969b9fa2d9772d79124cba9d6a145 Mon Sep 17 00:00:00 2001 From: William Coe Date: Tue, 21 Jul 2026 10:19:33 +0000 Subject: [PATCH] [DEV-9348] Fix bug caused by missing checkouts We moved the checkout from the setup Python step, and missed adding it to these jobs so they do not work as expected. Also fix bug where it should be secret, not secrets when referencing CI_GITHUB_TOKEN. Signed-off-by: William Coe --- .github/actions/setup-local-k8s/action.yml | 2 +- .github/workflows/helm-charts-pr.yml | 6 ++++++ .github/workflows/helm-charts-release.yml | 7 ++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-local-k8s/action.yml b/.github/actions/setup-local-k8s/action.yml index 530cc6d..5af35d7 100644 --- a/.github/actions/setup-local-k8s/action.yml +++ b/.github/actions/setup-local-k8s/action.yml @@ -1,5 +1,5 @@ name: Setup local-k8s -description: Checkout, install Python, and install the local-k8s CLI (from zepben/ci-utils) with its tools on PATH. +description: Install Python and the local-k8s CLI (from zepben/ci-utils) with its tools on PATH. inputs: ci_utils_ref: diff --git a/.github/workflows/helm-charts-pr.yml b/.github/workflows/helm-charts-pr.yml index 05294d8..d9cd4ab 100644 --- a/.github/workflows/helm-charts-pr.yml +++ b/.github/workflows/helm-charts-pr.yml @@ -66,6 +66,9 @@ jobs: matrix: chart: ${{ fromJson(needs.list-changed.outputs.charts) }} steps: + - name: Checkout + uses: actions/checkout@v7 + - name: Setup local-k8s uses: zepben/.github/.github/actions/setup-local-k8s@main with: @@ -92,6 +95,9 @@ jobs: matrix: chart: ${{ fromJson(needs.list-changed.outputs.charts) }} steps: + - name: Checkout + uses: actions/checkout@v7 + - name: Setup local-k8s uses: zepben/.github/.github/actions/setup-local-k8s@main with: diff --git a/.github/workflows/helm-charts-release.yml b/.github/workflows/helm-charts-release.yml index 3740af8..1c9863b 100644 --- a/.github/workflows/helm-charts-release.yml +++ b/.github/workflows/helm-charts-release.yml @@ -24,6 +24,11 @@ jobs: outputs: charts: ${{ steps.detect.outputs.charts }} steps: + - name: Checkout + uses: actions/checkout@v7 + with: + fetch-depth: 0 + - name: Setup local-k8s # Relative ./.github/actions resolves to the *caller* workspace (e.g. deployments), # not this reusable-workflow repo so must use an absolute org/repo@ref. @@ -53,7 +58,7 @@ jobs: matrix: chart: ${{ fromJson(needs.list-changed.outputs.charts) }} env: - GITHUB_TOKEN: ${secret.CI_GITHUB_TOKEN} + GITHUB_TOKEN: ${secrets.CI_GITHUB_TOKEN} steps: - uses: actions/checkout@v7 with: