Skip to content

Conversation

@MIchaelMainer
Copy link
Collaborator

Need to periodically update master for publication

marabooy and others added 14 commits October 22, 2025 09:49
Noticed intermittent failures of validate.yml that would occasionally flag random doc links as being invalid. A large number of links were using the deprecated `docs.microsoft.com` host, which could be related.

- Updated all links to use `learn.microsoft.com`
- Removed unnecessary query parameter `tabs`
- Replaced problematic apostrophe character
* Initial plan

* Fix string inconsistencies in permissions-descriptions.json and add validation test

Co-authored-by: jasonjoh <8966342+jasonjoh@users.noreply.github.com>

* Update tests/permissions-descriptions.spec.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jasonjoh <8966342+jasonjoh@users.noreply.github.com>
Co-authored-by: Jason Johnston <jasonjoh@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add alternative validator for testing

* Update alt-validate.yml

* Update alt-validate.yml

* Update samples.schema.json

* Update alt-validate.yml

* Trying another validator

* Update samples.schema.json

* Update samples.schema.json

* Adding invalid property for testing

* Update sample-queries.json

* Replace JSON validator
* Update to use `HEAD`

Also added `console.log` line to help debug any future errors

Fixes #1248

* Update tests/validator.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MIchaelMainer MIchaelMainer requested a review from a team as a code owner November 5, 2025 18:04
Copilot AI review requested due to automatic review settings November 5, 2025 18:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request contains multiple improvements across the codebase:

  • Updates documentation links from docs.microsoft.com to learn.microsoft.com domain across all sample queries
  • Removes trailing periods from permission display names for consistency
  • Fixes JSON schema validation by changing items from array to object format
  • Updates GitHub Actions workflow to use modern action versions
  • Adds new test file for validating permission descriptions
  • Updates validator to use HEAD requests and improve error logging
  • Adds and modifies various permission configurations

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sample-queries/sample-queries.json Updated all Microsoft documentation URLs from docs.microsoft.com to learn.microsoft.com and removed query parameters
permissions/permissions-descriptions.json Removed trailing periods from display names for consistency
tests/samples.schema.json Fixed schema by changing items from tuple validation (array) to object format and added $schema property
tests/permissions-descriptions.spec.js Added new test file to validate permission display names for trailing/leading spaces and periods
tests/validator.js Changed fetch method to HEAD for link validation and added error logging
permissions/new/provisioningInfo.json Updated permission keys and added new permission entries
permissions/new/permissions.json Extensive permission path and configuration updates
.github/workflows/validate.yml Updated to use modern action versions and new JSON schema validation action

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jasonjoh
jasonjoh previously approved these changes Nov 6, 2025
jasonjoh
jasonjoh previously approved these changes Nov 10, 2025
@MIchaelMainer MIchaelMainer merged commit a45359a into master Nov 10, 2025
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants