Skip to content

pipeline: exclude stage 0 toolchain from Component Governance - #2494

Merged
George Adams (gdams) merged 1 commit into
microsoft/mainfrom
dev/gadams/codeql
Sep 4, 2026
Merged

pipeline: exclude stage 0 toolchain from Component Governance#2494
George Adams (gdams) merged 1 commit into
microsoft/mainfrom
dev/gadams/codeql

Conversation

@gdams

Copy link
Copy Markdown
Member

Summary

  • exclude the temporary Stage 0 Go bootstrap toolchain from Component Governance scans
  • regenerate the rolling internal pipeline YAML
  • prevent vulnerabilities in the downloaded, non-shipping toolchain, such as CVE-2026-42508, from being attributed to this repository

Validation

  • pwsh eng/run.ps1 pipelineymlgen
  • git diff --check -- eng/pipeline/rolling-internal.gen.yml eng/pipeline/rolling-internal-pipeline.yml

Copilot AI lite review requested due to automatic review settings September 4, 2026 08:40
@gdams
George Adams (gdams) requested a review from a team as a code owner September 4, 2026 08:40
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The change is minimal, consistent across the generated and source pipeline YAML, and scoped to excluding a clearly non-shipping directory from Component Governance scanning.

Review tier: Lite
Findings: None

What changed in this PR

Updates the internal rolling pipeline configuration to exclude the temporary Stage 0 Go bootstrap toolchain directory from Component Governance scanning, preventing non-shipping toolchain vulnerabilities from being attributed to this repository.

Changes:

  • Add sdl.componentgovernance.ignoreDirectories to exclude eng/artifacts/_goStage0 from CG scans.
  • Regenerate the corresponding rolling internal generated pipeline YAML to keep it in sync.
File Description
eng/​pipeline/​rolling-internal.gen.yml Adds Component Governance ignore path for the Stage 0 bootstrap toolchain directory.
eng/​pipeline/​rolling-internal-pipeline.yml Mirrors the CG ignore configuration in the non-generated rolling internal pipeline definition.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@gdams
George Adams (gdams) merged commit b8c6214 into microsoft/main Sep 4, 2026
59 checks passed
@gdams
George Adams (gdams) deleted the dev/gadams/codeql branch September 4, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants