Update workflows to test PR #600 refactor + rewrite injection regression for new API - #3
Open
MaddyMicrosoft wants to merge 2 commits into
Conversation
…2E injection regression jobs
…n regression close to original
teresaritorto
approved these changes
Aug 10, 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.
Two updates to align with PR Azure#600 (the
pwsh -Filerefactor) onAzure/login:testLogin.yml and real-login job in testLogin2.yml
MaddyMicrosoft/login@d5189a61e7fcf27d8c721f2a56dad25941833ae0lib/bundle for PR Refactor PS login to use a static param()-bound script Azure/login#600's refactortestLogin2.yml — new jobs
run-unit-tests: runs the 30 unit tests (including the 6 SECURITY regression tests) from the same test-release SHA in a real runnerps-injection-regression(rewritten): now calls the newgetAzPSLoginInvocation()API (which returns{args, env}instead of a script string), wraps the realAzPSLogin.ps1with mockedConnect-AzAccountandAdd-AzEnvironment, and asserts that the adversarial payloads pass through as inertparam()values without creating a marker file. Tests all four fields (tenant-id, subscription-id, client-id, resourceManagerEndpointUrl).Feel free to merge, or let me know if you'd rather I hold. The workflow files are yours 🙂