Skip to content

[release/v7.4] Remove unused runCodesignValidationInjection variable from pipeline templates#26868

Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26412-1241ad279
Feb 20, 2026
Merged

[release/v7.4] Remove unused runCodesignValidationInjection variable from pipeline templates#26868
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26412-1241ad279

Conversation

@TravisEz13
Copy link
Member

Backport of #26412 to release/v7.4

Triggered by @TravisEz13 on behalf of @app/copilot-swe-agent

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Removes unused pipeline variable declarations; no functional change.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Not run locally; change is a variable cleanup in pipeline templates.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Deletion of unused variables in templates only.

Merge Conflicts

Conflict in .pipelines/templates/variable/release-shared.yml due to variable list mismatch. Removed runCodesignValidationInjection per PR and kept DOTNET_SKIP_FIRST_TIME_EXPERIENCE alongside DOTNET_NOLOGO.

…emplates (PowerShell#26412)

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: TravisEz13 <[email protected]>
Co-authored-by: Travis Plunk (HE/HIM) <[email protected]>
@TravisEz13 TravisEz13 requested a review from a team as a code owner February 20, 2026 22:12
Copilot AI review requested due to automatic review settings February 20, 2026 22:12
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 20, 2026
Copy link
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

This is a backport of PR #26412 to the release/v7.4 branch. The PR removes the unused runCodesignValidationInjection variable from pipeline templates. The variable was consistently set to false across multiple templates but was never referenced in any pipeline logic, making it dead code that should be cleaned up.

Changes:

  • Removes runCodesignValidationInjection variable declarations from 14 Azure Pipeline template files
  • Resolves merge conflict in release-shared.yml by keeping the DOTNET_NOLOGO variable from the target branch

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.pipelines/templates/windows-hosted-build.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/variable/release-shared.yml Removes unused variable; merge conflict resolved by keeping DOTNET_NOLOGO
.pipelines/templates/uploadToAzure.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/testartifacts.yml Removes unused variable from both Windows and non-Windows job definitions
.pipelines/templates/release-upload-buildinfo.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/release-symbols.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/packaging/windows/package.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/nupkg.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/mac.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/mac-package-build.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/linux.yml Removes unused variable from both Linux and Windows job definitions
.pipelines/templates/linux-package-build.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/compliance/generateNotice.yml Removes unused runCodesignValidationInjection variable declaration
.pipelines/templates/compliance/apiscan.yml Removes unused runCodesignValidationInjection variable declaration

@TravisEz13 TravisEz13 merged commit b12bd89 into PowerShell:release/v7.4 Feb 20, 2026
40 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.4/26412-1241ad279 branch February 20, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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