Weekly PowerShell Microsoft Graph beta Reference Docs Refresh#807
Weekly PowerShell Microsoft Graph beta Reference Docs Refresh#807microsoft-graph-devx-bot[bot] wants to merge 10 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
|
@microsoft-graph-devx-bot[bot] please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
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.
More information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This pull request was automatically created by Azure Pipelines. Important Check for unexpected deletions or changes in this PR.