Skip to content

Fix EH clause sort to handle try-in-handler nesting #5427

Fix EH clause sort to handle try-in-handler nesting

Fix EH clause sort to handle try-in-handler nesting #5427

name: Verify ultimate-pipeline.yml changes have been persisted
on:
pull_request:
workflow_dispatch:
jobs:
verify_solution_changes_are_persisted:
runs-on: windows-latest
permissions:
contents: read
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
global-json-file: global.json
- name: "Running GenerateUpdateGitHubPipelineStep"
run: .\tracer\build.ps1 GenerateUpdateGitHubPipelineStep
- name: "Verify no changes in generated templates"
run: |
git diff --quiet -- .\.azure-pipelines\steps\update-github-pipeline-status.yml
if ($LASTEXITCODE -eq 1) {
git diff
Write-Error "Found changes in generated template. Did you change the stages in ultimate-pipeline? Regenerate the template locally by running the target 'GenerateUpdateGitHubPipelineStep', and ensure the changed files are committed to git."
Exit 1
} else {
echo "No changes found to generated template"
}