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: