Commit ad53091
ci: Fix commit and push in regenerate models workflow (#702)
## Summary
Fixes two bugs in the `manual_regenerate_models` workflow that caused
the [manual
run](https://github.com/apify/apify-client-python/actions/runs/24075156216/job/70221653926)
to fail:
- **Pre-commit hook blocked commit**: `git commit` triggered the
type-check hook, which failed because regenerated models removed symbols
(`ScheduleCreateActions`, `TaskOptions`) still imported by client code.
Added `commit: --no-verify` to bypass hooks — the resulting PR will get
proper CI checks anyway.
- pre commit failures should be addressed manually
- **Push failed for new branch**: `push: --force` ran `git push --force`
without setting upstream tracking. Changed to `push: -u origin $BRANCH
--force` so the new branch is correctly pushed.
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a6a6fde commit ad53091
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
0 commit comments