Open
Conversation
…ditions to include manual builds (#483) Add isDeletePrSourceBranchSelected option and extend notification conditions to include manual build **Task name**: <Name of changed or new pipeline task> **Description**: <Describe your changes here> **Documentation changes required:** (Y/N) <Please mark if documentation changes are required> **Added unit tests:** (Y/N) <Please mark if unit tests were added or updated according changes> **Attached related issue:** (Y/N) <Please add link to related issue here> **Checklist**: - [ ] Task version was bumped - please check [instruction](https://github.com/microsoft/google-play-vsts-extension/tree/master/docs/taskversionbumping.md) how to do it - [ ] Checked that applied changes work as expected Co-authored-by: azure-pipelines-bot <[email protected]>
**Task name**: <Name of changed or new pipeline task> **Description**: <Describe your changes here> Error: [pipeline](https://dev.azure.com/mseng/PipelinesLocalization/_build/results?buildId=30861814&view=logs&j=3b94f880-87f8-584e-4049-e95fdb9e35af&t=52d5edd6-52c2-5ee8-9bc2-54ab768d3570) <img width="1268" height="225" alt="image" src="https://github.com/user-attachments/assets/aff610c2-fcec-4e1e-82c9-9db4f81cdf8b" /> ### **Root Cause:** Brief summary from https://support.microsoft.com/en-us/topic/powershell-5-1-invoke-webrequest-preventing-script-execution-from-web-content-7cb95559-655e-43fd-a8bd-ceef2406b705 Microsoft introduced this security change to **prevent malicious script execution** from web content fetched by PowerShell scripts. Before this update, PowerShell 5.1's` Invoke-WebRequest` used Internet Explorer's HTML parsing engine, which could **silently execute JavaScript** from downloaded web pages, creating a security vulnerability. **What Changed:** - **Before Dec 9, 2025:** `Invoke-WebRequest `automatically parsed HTML using IE engine, potentially running embedded scripts - **After Dec 9, 2025:** PowerShell 5.1 now **prompts for confirmation** before parsing web content (or fails in non-interactive/automated scenarios) **The Problem:** In **non-interactive environments** (CI/CD pipelines, scheduled tasks), the security prompt causes scripts to **hang or fail** because there's no one to respond to the prompt. **The Solution:** Add **`-UseBasicParsing`** parameter to skip the IE engine and safely retrieve content without executing scripts: `Invoke-WebRequest https://url -UseBasicParsing` ### **Testing & Validation** success [pipeline](https://dev.azure.com/mseng/PipelinesLocalization/_build/results?buildId=30865889&view=logs&j=3b94f880-87f8-584e-4049-e95fdb9e35af&t=52d5edd6-52c2-5ee8-9bc2-54ab768d3570): **Documentation changes required:** (Y/N) <Please mark if documentation changes are required> **Added unit tests:** (Y/N) <Please mark if unit tests were added or updated according changes> **Attached related issue:** (Y/N) <Please add link to related issue here> **Checklist**: - [ ] Task version was bumped - please check [instruction](https://github.com/microsoft/google-play-vsts-extension/tree/master/docs/taskversionbumping.md) how to do it - [ ] Checked that applied changes work as expected Co-authored-by: azure-pipelines-bot <[email protected]>
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.
This PR was auto-generated with the localization pipeline build.