[Infra] Pins GitHub Action workflows to specific hashes#24594
Merged
yuneng-berri merged 3 commits intomainfrom Mar 26, 2026
Merged
[Infra] Pins GitHub Action workflows to specific hashes#24594yuneng-berri merged 3 commits intomainfrom
yuneng-berri merged 3 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Contributor
Contributor
Greptile SummaryThis PR hardens the repository's CI/CD supply chain by pinning all GitHub Actions to specific commit SHAs instead of mutable version tags, preventing dependency substitution attacks. Eight workflow files are updated across automation, security scanning, benchmarking, and release workflows.
Confidence Score: 3/5
|
| Filename | Overview |
|---|---|
| .github/workflows/helm_unit_test.yml | Pins checkout (v2→v4.3.0) and setup-helm (v1→v4.3.1) to commit hashes; adds a plugin integrity verification step that references an incorrect directory name (helm-unittest instead of unittest), which will break CI. |
| .github/workflows/codeql.yml | Pins checkout, codeql-action/init, and codeql-action/analyze to specific commit hashes; both CodeQL actions correctly share the same monorepo commit hash (ebcb5b36). The previously flagged double-@@ issue is absent from the current diff. |
| .github/workflows/codspeed.yml | Pins checkout, setup-python, and CodSpeedHQ/action to specific commit hashes matching versions cited in the PR description; no issues found. |
| .github/workflows/check_duplicate_issues.yml | Pins wow-actions/potential-duplicates, checkout, and setup-python to commit hashes; the version bump from v1→v1.1.0 for potential-duplicates is intentional and safe alongside the pinning. |
| .github/workflows/auto_update_price_and_context_window.yml | Upgrades and pins checkout from v3 to v4.3.0 commit hash; also adds a missing newline at end of file. |
| .github/workflows/create_daily_staging_branch.yml | Upgrades both checkout steps from v3 to v4.3.0 commit hash; minor YAML quoting style normalisation. No issues. |
| .github/workflows/issue-keyword-labeler.yml | Pins checkout and both github-script usages to commit hashes; also fixes minor YAML indentation for the issues trigger type. No issues. |
| .github/workflows/label-component.yml | Single-line change pinning github-script from @v7 to the commit hash; straightforward and safe. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[GitHub Event Trigger] --> B{Workflow}
B --> C[helm_unit_test.yml]
B --> D[codeql.yml]
B --> E[codspeed.yml]
B --> F[check_duplicate_issues.yml]
B --> G[issue-keyword-labeler.yml / label-component.yml]
B --> H[auto_update_price... / create_daily_staging...]
C --> C1["actions/checkout@08eba0b # v4.3.0"]
C1 --> C2["azure/setup-helm@1a275c3 # v4.3.1"]
C2 --> C3["helm plugin install helm-unittest v0.4.4"]
C3 --> C4["Verify plugin SHA\n(PLUGIN_DIR = HELM_PLUGINS/helm-unittest ❌\nshould be HELM_PLUGINS/unittest)"]
C4 -->|"exit 1 — wrong path"| FAIL["CI Failure"]
C4 -->|"if path correct"| C5["helm unittest tests"]
D --> D1["actions/checkout@08eba0b # v4.3.0"]
D1 --> D2["codeql-action/init@ebcb5b3 # v3"]
D2 --> D3["codeql-action/analyze@ebcb5b3 # v3"]
E --> E1["actions/checkout@08eba0b # v4.3.0"]
E1 --> E2["setup-python@a26af69 # v5.6.0"]
E2 --> E3["CodSpeedHQ/action@1c8ae48 # v4.12.1"]
F --> F1["potential-duplicates@4d4ea03 # v1.1.0"]
F1 --> F2["actions/checkout@08eba0b # v4.3.0"]
F2 --> F3["setup-python@a26af69 # v5.6.0"]
G --> G1["actions/checkout@08eba0b # v4.3.0"]
G1 --> G2["actions/github-script@f28e40c # v7.1.0"]
H --> H1["actions/checkout@08eba0b # v4.3.0"]
Reviews (2): Last reviewed commit: "remove extra @" | Re-trigger Greptile
ryan-crabbe-berri
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issues
Github script: actions/github-script@f28e40c
CodSpeed: CodSpeedHQ/action@1c8ae48
Setup Helm: Azure/setup-helm@1a275c3
Checkout v4: actions/checkout@08eba0b
Setup Python: actions/setup-python@a26af69
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/test_litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewDelays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
CI (LiteLLM team)
Branch creation CI run
Link:
CI run for the last commit
Link:
Merge / cherry-pick CI run
Links:
Type
🚄 Infrastructure
Changes