[release/v7.4] Remove unused runCodesignValidationInjection variable from pipeline templates#26868
Merged
TravisEz13 merged 1 commit intoPowerShell:release/v7.4from Feb 20, 2026
Conversation
…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]>
Contributor
There was a problem hiding this comment.
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
runCodesignValidationInjectionvariable declarations from 14 Azure Pipeline template files - Resolves merge conflict in
release-shared.ymlby keeping theDOTNET_NOLOGOvariable 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 |
adityapatwardhan
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Removes unused pipeline variable declarations; no functional change.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Not run locally; change is a variable cleanup in pipeline templates.
Risk
REQUIRED: Check exactly one box.
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.