googleapis / discovery-artifact-manager

The Discovery Artifact Manager is intended to facilitate testing, publishing, and synchronization of generators and artifacts for client libraries and generated code samples of Google APIs defined by the API Discovery Service.
Apache License 2.0
45 stars 49 forks source link

build: add workflow to normalize discovery docs #10784

Closed chingor13 closed 2 months ago

chingor13 commented 2 months ago

A manually triggered one-off action/script to create a PR like: https://github.com/googleapis/discovery-artifact-manager/pull/10699

Future discovery docs are already being normalized in the update_disco.py script, but it won't be updated in the directory until there is a new revision with substantial changes. This will normalize all the existing docs in place (sorted keys, consistent indentation) so future diffs are readable/reviewable.