[release/v7.5] Remove unused runCodesignValidationInjection variable from pipeline templates#26825
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.5from Feb 14, 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 pull request backports the removal of the unused runCodesignValidationInjection variable from the v7.5 release branch. The variable was defined with value: false across 14 pipeline template files but was never referenced in any pipeline logic, making it dead code that can be safely removed.
Changes:
- Removed unused
runCodesignValidationInjectionvariable declarations from 14 Azure Pipeline YAML templates - Resolved merge conflict in
release-shared.ymlduring backport
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.pipelines/templates/windows-hosted-build.yml |
Removed unused variable definition |
.pipelines/templates/variable/release-shared.yml |
Removed unused variable definition with merge conflict resolution |
.pipelines/templates/uploadToAzure.yml |
Removed unused variable definition |
.pipelines/templates/testartifacts.yml |
Removed unused variable definition from both Windows and non-Windows jobs |
.pipelines/templates/release-upload-buildinfo.yml |
Removed unused variable definition |
.pipelines/templates/release-symbols.yml |
Removed unused variable definition |
.pipelines/templates/packaging/windows/package.yml |
Removed unused variable definition |
.pipelines/templates/nupkg.yml |
Removed unused variable definition |
.pipelines/templates/mac.yml |
Removed unused variable definition |
.pipelines/templates/mac-package-build.yml |
Removed unused variable definition |
.pipelines/templates/linux.yml |
Removed unused variable definition from both Linux and Windows signing jobs |
.pipelines/templates/linux-package-build.yml |
Removed unused variable definition |
.pipelines/templates/compliance/generateNotice.yml |
Removed unused variable definition |
.pipelines/templates/compliance/apiscan.yml |
Removed unused variable definition |
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.5
Triggered by @daxian-dbw 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 runCodesignValidationInjection variable from 14 pipeline templates
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Successfully tested in 7.6 release. Removes dead code with no impact on pipeline functionality.
Risk
REQUIRED: Check exactly one box.
Removes unused variable declarations from pipeline templates. Code cleanup with no functional impact. Successfully backported to 7.6 branch.
Merge Conflicts
Conflict in release-shared.yml resolved - context differences in variable definitions