Repository navigation
fix: allow manual OpenAPI PRs independently of SDK PRs - #1499
Open
Gavin Barron (gavinbarron) wants to merge 3 commits into
Open
Gavin Barron (gavinbarron) wants to merge 3 commits into
Gavin Barron (gavinbarron) wants to merge 3 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Gavin Barron (gavinbarron)
enabled auto-merge (squash)
November 30, 2026 23:36
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.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
efc2cac694018661dd30a1bfa014dd39f5434715↑ Pipeline YAML parses and the net diff against main contains only this fix, documentation, and focused tests.
↓ Live Azure DevOps template expansion and GitHub App PR creation have not been exercised with this revision.
Summary
Allow OpenAPI spec discovery PRs into
microsoftgraph/msgraph-metadataon manual runs independently of the SDK manual-run override.skipOpenAPIPRGenerationparameter (defaultfalse) as the OpenAPI-specific control. No redundant inverse parameter is added.OverrideSkipCIenvironment value totrue, bypassing the shared script's manual-run suppression only for OpenAPI PRs. Existing skip, publication, and Fairfax change-detection gates remain in effect.publishChanges: truebefore attempting Prod OpenAPI PR creation, matching the relevant existing Fairfax safeguards.overrideSkipCI: true; scheduled SDK behavior is unchanged.Generated code differences
None. No generated SDK code or output directory structures are changed. This fix changes when existing OpenAPI publication branches receive discovery PRs.
Command line arguments to run these changes
From the repository root:
Passed, including a rerun after aligning this branch with main. Covers all three OpenAPI variants (Prod v1.0, beta, Fairfax v1.0), manual/scheduled creation, disabled PR creation, target repository/base/head arguments, publication-guard contracts, and unchanged SDK manual/scheduled gates.
git diff --check— passed. Both the main generation pipeline and OpenAPI template also parsed successfully usingConvertFrom-Yaml.To verify end to end, manually run the generator pipeline with:
After successful generation/publication with changes, OpenAPI PRs should be created without SDK PRs. SDK stages may still generate and push branches unless excluded through Stages to run. Fairfax continues to skip its PR when no files changed.
Not run: a live Azure DevOps run, real GitHub App authentication/PR creation, or the .NET suite (no C# changes).
Links to issues or work items this PR addresses
Follow-up to #1498.
Observed failure: manual pipeline run 269497; both completed OpenAPI PR tasks returned successfully after logging
Skipping pull request creation due Skip CI..Microsoft Reviewers: Open in CodeFlow