Remove unused runCodesignValidationInjection variable from pipeline templates#26412
Merged
TravisEz13 merged 3 commits intomasterfrom Jan 14, 2026
Merged
Conversation
…ne templates Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove runCodesignValidationInjection as it is no longer used
Remove unused runCodesignValidationInjection variable from pipeline templates
Nov 10, 2025
…used-runcodesignvalidationinjection
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR removes the unused runCodesignValidationInjection variable from 15 Azure Pipeline template files. The variable was consistently set to false across all files but was never referenced in any pipeline logic or scripts, making it dead code left over from previous pipeline infrastructure changes.
Key changes:
- Removed 30 lines of unused variable declarations (2 lines per file: name + value)
- Cleanup affects build, package, compliance, and release pipeline templates
- One additional file (
.pipelines/templates/packaging/windows/sign.yml) still contains this variable and was not included in this PR
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 from Windows hosted build template |
.pipelines/templates/variable/release-shared.yml |
Removed unused variable from shared release variables |
.pipelines/templates/uploadToAzure.yml |
Removed unused variable from Azure upload job |
.pipelines/templates/testartifacts.yml |
Removed unused variable from both Windows and non-Windows test artifact jobs |
.pipelines/templates/release-upload-buildinfo.yml |
Removed unused variable from build info upload job |
.pipelines/templates/release-symbols.yml |
Removed unused variable from symbols release job |
.pipelines/templates/packaging/windows/package.yml |
Removed unused variable from Windows packaging job |
.pipelines/templates/nupkg.yml |
Removed unused variable from NuGet package job |
.pipelines/templates/mac.yml |
Removed unused variable from macOS build job |
.pipelines/templates/mac-package-build.yml |
Removed unused variable from macOS package build job |
.pipelines/templates/linux.yml |
Removed unused variable from both Linux build jobs |
.pipelines/templates/linux-package-build.yml |
Removed unused variable from Linux package build job |
.pipelines/templates/compliance/generateNotice.yml |
Removed unused variable from notice generation compliance job |
.pipelines/templates/compliance/apiscan.yml |
Removed unused variable from API scan compliance job |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jshigetomi
approved these changes
Nov 11, 2025
Contributor
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
TravisEz13
approved these changes
Jan 14, 2026
daxian-dbw
pushed a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Jan 20, 2026
…emplates (PowerShell#26412) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk (HE/HIM) <tplunk@ntdev.microsoft.com>
Merged
9 tasks
Merged
9 tasks
daxian-dbw
pushed a commit
to daxian-dbw/PowerShell
that referenced
this pull request
Feb 14, 2026
…emplates (PowerShell#26412) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk (HE/HIM) <tplunk@ntdev.microsoft.com>
TravisEz13
added a commit
to TravisEz13/PowerShell
that referenced
this pull request
Feb 20, 2026
…emplates (PowerShell#26412) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com> Co-authored-by: Travis Plunk (HE/HIM) <tplunk@ntdev.microsoft.com>
Merged
9 tasks
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.
PR Summary
Removes
runCodesignValidationInjectionvariable declarations from 14 pipeline template files. The variable was defined but never referenced in any pipeline logic.PR Context
Cleanup of unused configuration that was likely left behind from previous pipeline changes. The variable existed in multiple templates with consistent
value: falsebut had no consumers.Files modified (32 lines removed):
.pipelines/templates/compliance/{apiscan,generateNotice}.yml.pipelines/templates/{linux,mac,windows}-{package-build,hosted-build}.yml.pipelines/templates/{nupkg,testartifacts,uploadToAzure}.yml.pipelines/templates/release-{symbols,upload-buildinfo}.yml.pipelines/templates/variable/release-shared.ymlPR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.