Fix broken codeql-action SHA in scorecard workflow#24815
Fix broken codeql-action SHA in scorecard workflow#24815yuneng-berri merged 1 commit intoBerriAI:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR fixes a broken SHA pin in the
Confidence Score: 5/5This PR is safe to merge — it is a minimal, targeted fix to a broken action SHA with no impact on application code. The change is a single-line correction to a CI workflow file, fixing an invalid SHA that was causing the scorecard run to fail outright. There are no logic changes, no tests modified, and no application code touched. All remaining action pins in the file continue to follow the correct immutable-SHA pattern. No custom rules are violated. No files require special attention.
|
| Filename | Overview |
|---|---|
| .github/workflows/scorecard.yml | Single-line fix updating the broken commit SHA for github/codeql-action/upload-sarif to the correct hash for v4.35.1, restoring the scorecard workflow. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Scorecard Workflow Trigger\nschedule / push to main] --> B[Checkout code\nactions/checkout@v4.2.2]
B --> C[Run Scorecard analysis\nossf/scorecard-action@v2.4.1]
C --> D[Upload SARIF artifact\nactions/upload-artifact@v4.6.1]
D --> E[Upload to Code Scanning\ngithub/codeql-action/upload-sarif]
E --> F[GitHub Security Dashboard]
style E fill:#d4edda,stroke:#28a745
E -.->|Old broken SHA\nc10b806170c8...| G[❌ Unable to resolve action]
E -.->|New fixed SHA\nc10b8064de6f...| F
Reviews (3): Last reviewed commit: "Fix broken codeql-action SHA in scorecar..." | Re-trigger Greptile
f4ef6d5 to
0149d7e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Head branch was pushed to by a user without write access
0149d7e to
6cc56f5
Compare
Summary
The scorecard workflow was failing with:
The SHA was invalid. Updated to the correct immutable SHA for
v4.35.1.Test plan