Weekly PowerShell Microsoft Graph v1.0 Reference Docs Refresh - #813
Closed
microsoft-graph-devx-bot[bot] wants to merge 12 commits into
Closed
Weekly PowerShell Microsoft Graph v1.0 Reference Docs Refresh#813microsoft-graph-devx-bot[bot] wants to merge 12 commits into
microsoft-graph-devx-bot[bot] wants to merge 12 commits into
Conversation
Adds a -GraphProfileFilter parameter (v1.0/beta/both, default both) to the generation scripts so each profile can be generated independently, and splits powershell-docs.yml into two parallel stages (GenerateV1, GenerateBeta) via a new reusable generate-docs-steps.yml template. Each stage generates a single profile, commits to its own branch, and opens its own PR. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 672bde33-f50e-49f9-a53c-623f7445b1e9
The push URL in the weekly docs pipeline had been corrupted to a literal '******github.com/...' (a masked log value pasted into source) since #802, so 'git push' failed silently while the step still reported success because 'git status' ran last. The branch never reached GitHub, so 'gh pr create' failed with 'No commits between main and <branch>'. - generate-docs-steps.yml: fix push URL to https://x-access-token:$token@github.com/..., throw on non-zero 'git push' exit code, and detect real changes by comparing the branch tip to the recorded base commit (the generation scripts pre-commit their output, so the working tree is clean at push time). - create-pr.yml: add a Condition parameter so PR creation is skipped cleanly when there are no changes instead of erroring. - GenerateMarkDown.ps1: track generated file count and fail if generation produces zero files, so a silent generation failure surfaces immediately. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f3873c6c-209b-4bd2-b1a7-e96a27d4834a
…ocs-pipeline-by-profile
The weekly docs pipeline failed at the 'Remove invalid fullstops' step
because RemoveInvalidFullStops.ps1 ends in 'git commit', which exits 1
when there is nothing to commit ('nothing to commit, working tree clean').
As the last command in the script, that exit code failed the step even
though nothing was wrong.
Apply the same 'commit only if staged changes exist' guard already used in
CorrectRelatedLinks-AllFiles.ps1, UpdateLinks.ps1 and MsSubserviceUpdate.ps1
to the remaining unguarded scripts so a no-op pass no longer fails the build.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f3873c6c-209b-4bd2-b1a7-e96a27d4834a
microsoft-graph-devx-bot
Bot
requested review from
gavinbarron,
peombwa and
ramsessanchez
as code owners
July 21, 2026 11:31
Contributor
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
Contributor
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 pull request was automatically created by Azure Pipelines. Important Check for unexpected deletions or changes in this PR.