Skip to content

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

Open
vdusek wants to merge 1 commit intomasterfrom
ci/regenerate-models-workflow
Open

ci: add workflow to regenerate models from OpenAPI spec#694
vdusek wants to merge 1 commit intomasterfrom
ci/regenerate-models-workflow

Conversation

@vdusek
Copy link
Copy Markdown
Contributor

@vdusek vdusek commented Mar 31, 2026

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

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Mar 31, 2026
@vdusek vdusek self-assigned this Mar 31, 2026
@github-actions github-actions bot added this to the 137th sprint - Tooling team milestone Mar 31, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.93%. Comparing base (b778c20) to head (3097e61).
⚠️ Report is 25 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #694      +/-   ##
==========================================
+ Coverage   94.80%   94.93%   +0.13%     
==========================================
  Files          45       45              
  Lines        4404     4403       -1     
==========================================
+ Hits         4175     4180       +5     
+ Misses        229      223       -6     
Flag Coverage Δ
integration 94.93% <ø> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants