SIGN IN SIGN UP

ci: add workflow to regenerate models from OpenAPI spec (#694)

## Summary

- Add `workflow_dispatch` workflow that regenerates Pydantic models from
an `apify-docs` PR's OpenAPI spec
- Builds the spec locally, runs `datamodel-codegen`, and opens a PR if
models changed
- Comments back on the source `apify-docs` PR with a link

## Issues

- Closes: https://github.com/apify/apify-client-python/issues/618

## Context

- https://github.com/apify/apify-docs/pull/2381
- https://github.com/apify/apify-client-python/pull/694

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
V
Vlada Dusek committed
7c0391dd09255aa2d54597e4de9e4d29c2281be6
Parent: 6aaf8b4
Committed by GitHub <noreply@github.com> on 4/7/2026, 9:41:02 AM