Skip to content

PMC release: Use slash instead of back-slash for Linux container#27315

Merged
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:ev2
Apr 21, 2026
Merged

PMC release: Use slash instead of back-slash for Linux container#27315
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:ev2

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

PR Summary

Use slash instead of back-slash for Linux container. Otherwise, the CreadScan step fails because it cannot find the file.

Copilot AI review requested due to automatic review settings April 21, 2026 19:54
@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners April 21, 2026 19:54
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 21, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the EV2 release prep pipeline template to use POSIX-style paths so CredScan can locate the suppression file when running in a Linux container.

Changes:

  • Switch ob_sdl_credscan_suppressionsFile from Windows \ separators to / separators for Linux execution.

- group: 'packages.microsoft.com'
- name: ob_sdl_credscan_suppressionsFile
value: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json
value: $(Build.SourcesDirectory)/PowerShell/.config/suppress.json
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

Consider reusing the already-defined repoRoot variable here (e.g., $(repoRoot)/.config/suppress.json) instead of repeating $(Build.SourcesDirectory)/PowerShell. This reduces duplication and prevents future path changes from requiring multiple updates.

Suggested change
value: $(Build.SourcesDirectory)/PowerShell/.config/suppress.json
value: $(repoRoot)/.config/suppress.json

Copilot uses AI. Check for mistakes.
@daxian-dbw daxian-dbw merged commit 156906e into PowerShell:master Apr 21, 2026
42 of 43 checks passed
@daxian-dbw daxian-dbw deleted the ev2 branch April 21, 2026 20:05
@daxian-dbw daxian-dbw changed the title Use slash instead of back-slash for Linux container PMC release: Use slash instead of back-slash for Linux container Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport-7.4.x-Consider Backport-7.5.x-Done Backport-7.6.x-Consider Backport-7.6.x-Migrated CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants