Skip to content

Commit 8d23730

Browse files
wyattwalterclaude
andcommitted
fix(ci): verify helm-docs download checksum before install
Download the checksums.txt from the helm-docs release and verify the tarball integrity with sha256sum before extracting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 626c023 commit 8d23730

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/helm-docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ jobs:
3939
- name: Install helm-docs
4040
run: |
4141
HELM_DOCS_VERSION=1.14.2
42-
curl -sSL "https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS_VERSION}/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz" \
43-
| tar xz helm-docs
42+
BASE_URL="https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS_VERSION}"
43+
curl -sSL "${BASE_URL}/helm-docs_${HELM_DOCS_VERSION}_checksums.txt" -o checksums.txt
44+
curl -sSL "${BASE_URL}/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.tar.gz" -o helm-docs.tar.gz
45+
sha256sum --check --ignore-missing checksums.txt
46+
tar xzf helm-docs.tar.gz helm-docs
4447
sudo mv helm-docs /usr/local/bin/
4548
4649
- name: Check values schema

0 commit comments

Comments
 (0)