ci: remove redundant workflow-based Semgrep runs - #36437
Conversation
The Semgrep App (semgrep ci + SEMGREP_APP_TOKEN) already scans every PR and posts findings as PR comments. The workflow jobs duplicated that work and added unnecessary nodes to the needs dependency chains. - Delete cicd_comp_semgrep-phase.yml entirely - Remove semgrep job from cicd_1-pr.yml; simplify finalize needs - Remove disable-semgrep input and semgrep job from cicd_3-trunk.yml; drop semgrep from deployment and finalize needs Repo secrets/variables (SEMGREP_APP_TOKEN, DISABLE_SEMGREP, SEMGREP_NO_FAIL) can be removed from repo settings after merge. Closes #36436 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHg1W7beD4Z1yLoTJpyXss
Follow-up to previous commit — stages the edits to cicd_1-pr.yml and cicd_3-trunk.yml that were missed from the initial commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHg1W7beD4Z1yLoTJpyXss
|
Claude finished @mbiuki's task in 1m 11s —— View job Code ReviewReviewed the 3 changed workflow files against
New IssuesNo issues found. Verification notes:
Non-blocking (out of scope, not in this diff): The manual post-merge secret/variable cleanup ( LGTM. ✅ |
🤖 dotBot Review (Bedrock)Reviewed 3 file(s); 0 candidate(s) → 0 confirmed, 0 uncertain (unverified, kept for review). ✅ No issues found after verification. us.deepseek.r1-v1:0 · Run: #28812934094 · tokens: in: 10054 · out: 2470 · total: 12524 · calls: 4 · est. ~$0.027 |
fixed |
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 53 minutes 4 seconds in the queue, including 52 minutes 47 seconds running CI. Waiting for any of
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks
Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. Tick the box to put this pull request back in the merge queue (same as
|
Summary
The Semgrep App (
semgrep ci+SEMGREP_APP_TOKEN) is already installed and scans every PR, posting findings as PR comments. The workflow jobs were duplicating that work and adding unnecessary nodes to theneedsdependency chains.cicd_comp_semgrep-phase.ymlentirelysemgrep:job fromcicd_1-pr.yml; simplifyfinalizeneedsdisable-semgrepinput andsemgrep:job fromcicd_3-trunk.yml; dropsemgrepfromdeploymentandfinalizeneedsCloses #36436
After merge (manual)
Remove these from repo Settings → Secrets and Variables:
SEMGREP_APP_TOKENDISABLE_SEMGREPSEMGREP_NO_FAILTest plan