Repository navigation
ci: trigger product-docs API reference regeneration (PDOCS-5104) - #1340
Merged
SSharma-10 merged 3 commits intoNov 20, 2026
Merged
Conversation
SSharma-10
deleted the
tconsigny/pdocs-5104-trigger-product-docs-regen
branch
November 20, 2026 15:20
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.
Regenerates the public API reference on docs.digitalocean.com after every spec publish, instead of waiting for the product-docs daily run (PDOCS-5104).
trigger-product-docs-regen.yml: when Spec Main succeeds onmain, dispatches product-docsdaily-jobs.ymlwithopenapi-shaset to the first 7 characters of the Spec Main run'shead_sha. product-docs fetchesDigitalOcean-public-<sha>.v2.yaml, the revision file Spec Main just uploaded. Uses the existingWORKFLOW_TRIGGER_TOKEN, like the pydo and dots triggers.The SHA comes from
workflow_run.head_sharather than a fresh checkout. A checkout gets the latestmain, which can be a commit whose revision file is not uploaded yet when two merges land close together.The receiving side (the
openapi-shainput) merged in digitalocean/product-docs PR 7104. The product-docs scheduled run stays as the fallback.Test plan
actionlintpasses on the new workflow.openapi-sha=248d3a2fetched that revision file and regenerated the API reference end to end.maindispatches a product-docs run that succeeds. This also confirmsWORKFLOW_TRIGGER_TOKENcan dispatch workflows in product-docs.