Skip to content

Commit a8b3e24

Browse files
Format generated code in sync-api workflow
1 parent f253700 commit a8b3e24

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/sync-api.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
run: |
5757
uv run python scripts/generate.py --spec-url https://api.rencom.ai
5858
59+
- name: Format generated code
60+
if: steps.diff.outputs.changed == 'true'
61+
run: |
62+
uv run ruff format .
63+
5964
- name: Run tests
6065
if: steps.diff.outputs.changed == 'true'
6166
run: |
@@ -67,7 +72,7 @@ jobs:
6772
with:
6873
token: ${{ secrets.PAT_TOKEN }}
6974
commit-message: "chore: sync with API changes"
70-
title: "🤖 API Sync: Update generated code"
75+
title: "API Sync: Update generated code"
7176
body: |
7277
Auto-generated PR from API changes detected in OpenAPI spec.
7378

0 commit comments

Comments
 (0)