You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e521a24
Browse filesBrowse the repository at this point in the historyBrowse files
ci: unify auto-update PR title and description format (#1213)
Brings the PRs opened by the `Regenerate models` workflow to the same
format as the matching workflows in apify-client-js and crawlee-python.
- Titles follow `chore: <Verb> <object>`.
- Descriptions are short bullet lists wrapped at 72 columns, so the
squash commit body reads well in `git log`. No blockquotes.
- A footer names the workflow and links its run.
*✍️ Drafted by Claude Code*
SPEC_VERSION=$(uv run python -m scripts.openapi_spec recorded-version)
@@ -169,19 +170,19 @@ jobs:
169
170
# `components/version.yaml` in a follow-up `[skip ci]` commit and a deploy can publish new content under
170
171
# the old stamp. Say which case this is instead of letting the reviewer read it as a content identity.
171
172
if [[ "$SPEC_VERSION" == "$PREVIOUS_SPEC_VERSION" ]]; then
172
-
SPEC_LINE="- Specification version: \`${SPEC_VERSION}\` - **unchanged**, which doesn't rule out a specification change: the published stamp can lag its content by a deploy. Only the diff tells."
173
+
SPEC_LINE="- Spec version: \`${SPEC_VERSION}\` (unchanged, but it can lag)."
"- Regenerates the Pydantic models, TypedDicts, and literal aliases from the [published OpenAPI specification](https://docs.apify.com/api/openapi.json), and records its version in \`pyproject.toml\`." \
179
+
"- Regenerate Pydantic models, TypedDicts and literal aliases from the" \
180
+
" published OpenAPI spec." \
179
181
"${SPEC_LINE}" \
182
+
"- Retitle to \`fix:\` or \`feat:\` if the diff is user-facing." \
180
183
"" \
181
-
"> [!IMPORTANT]" \
182
-
"> Retitle this pull request to \`fix:\` or \`feat:\` when the diff is user-facing, so that it lands in the changelog and triggers a release - \`chore:\` does neither." \
183
-
"" \
184
-
"> Generated by the [Regenerate models](${WORKFLOW_URL}) workflow.")
184
+
"Generated by the \"${WORKFLOW_NAME}\" workflow:" \
0 commit comments