Skip to content

Commit 252e0e4

Browse files
authored
ci: Repair regenerate-models workflow stale add glob (#809)
Fixes a bug in `.github/workflows/manual_regenerate_models.yaml` that's been silently breaking model regeneration since 2026-04-29.
1 parent 85b450b commit 252e0e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/manual_regenerate_models.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow regenerates Pydantic models and TypedDicts (src/apify_client/_{models,typeddicts}_generated.py) from the OpenAPI spec.
1+
# This workflow regenerates Pydantic models, TypedDicts, and Literal aliases (src/apify_client/_{models,typeddicts,literals}.py) from the OpenAPI spec.
22
#
33
# It can be triggered in two ways:
44
# 1. Automatically via workflow_dispatch from the apify-docs CI pipeline.
@@ -109,7 +109,7 @@ jobs:
109109
uses: apify/actions/signed-commit@v1.0.0
110110
with:
111111
message: ${{ env.TITLE }}
112-
add: 'src/apify_client/_*_generated.py'
112+
add: 'src/apify_client/_models.py src/apify_client/_typeddicts.py src/apify_client/_literals.py'
113113
github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
114114
branch: ${{ env.BRANCH }}
115115
create-branch: 'true'

0 commit comments

Comments
 (0)