Skip to content

ci: trigger Python client model regeneration on OpenAPI spec changes#2381

Open
vdusek wants to merge 1 commit intomasterfrom
ci/trigger-python-client-model-regeneration
Open

ci: trigger Python client model regeneration on OpenAPI spec changes#2381
vdusek wants to merge 1 commit intomasterfrom
ci/trigger-python-client-model-regeneration

Conversation

@vdusek
Copy link
Copy Markdown
Contributor

@vdusek vdusek commented Mar 31, 2026

Summary

  • Add a new CI job that triggers Python client Pydantic model regeneration in apify-client-python when OpenAPI spec files change in a PR
  • Pass github.head_ref and PR number via environment variables to prevent script injection

Test plan

  • Verify the workflow triggers on PRs that modify apify-api/openapi/** files
  • Verify the workflow does not trigger on PRs without OpenAPI changes

🤖 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
@apify-service-account
Copy link
Copy Markdown

Preview for this PR was built for commit acff308 and is ready at https://pr-2381.preview.docs.apify.com!

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