Shared GitHub Actions and reusable workflows for the Phenoml SDK repos.
bundle-openapi-spec— fetches the combined OpenAPI spec for an SDK's source commit and writes it to the working tree.extract-code-examples— parses a Fern-generated SDK and writes acode-examples.jsonmanifest mapping HTTP method + path to SDK call source, request body, and response body.commit-artifacts— stages, commits, and pushes the given files back to the PR branch (rebasing + retrying on concurrent pushes). The shared "write it back" step for the generator actions above, which only produce files.verify-openapi-spec— fails an SDK's publish job if the bundled spec is missing or stale.
sync-fern-artifacts— runs bundle → extract → commit in a single ordered run, so the bundled spec and its derivedcode-examples.jsonare always generated together and land in one commit. SDK repos call this instead of separate bundle/extract workflows, which could race (extract reading a stale spec) and never self-heal. See the workflow header for inputs.