Commit c23da43
authored
chore: update CI workflows to pin pip packages and go packages (#6498)
* Pin pip dependencies by hash in docs workflow
Generate a locked requirements.txt with full SHA256 hashes for all
dependencies (direct and transitive) using pip-compile --generate-hashes.
Add --require-hashes to pip install commands in the workflow.
Keep the original version-pinned requirements as requirements.in for
future updates via pip-compile.
* Verify golangci-lint install script integrity with SHA256
Download the install script to a temp file and verify its SHA256
checksum before executing, replacing the curl-pipe-to-sh pattern.
This satisfies the OpenSSF Scorecard pinned-dependencies check.
* Pin helm-docs to v1.14.2 in helm-tools.sh
Replace @latest with a specific version to satisfy the OpenSSF
Scorecard pinned-dependencies check. Go modules with full semantic
versions are treated as pinned since the Go tool verifies downloaded
content against the checksum database.
Add a renovate comment for automated version updates.1 parent 9bb899c commit c23da43
5 files changed
Lines changed: 576 additions & 13 deletions
File tree
- .github/workflows
- docs/scripts
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
61 | | - | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments