Created a PowerShell 7 script invoked from the pipeline to compute the PR diff, call the EU-pinned Azure OpenAI endpoint using a Key Vault secret, validate the returned region header, and post a markdown thread to the pull request.
- What worked
- Script could be authored and referenced from YAML without extra tooling; handling of environment variables for endpoint, API key and access token was straightforward.