Skip to content

Commit ee68504

Browse files
committed
ci: Change commit message for update PRs and add formatting
1 parent e229576 commit ee68504

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/update-a2a-types.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.10'
19+
python-version: "3.10"
2020
- name: Install uv
2121
uses: astral-sh/setup-uv@v6
2222
- name: Configure uv shell
@@ -47,8 +47,8 @@ jobs:
4747
token: ${{ secrets.A2A_BOT_PAT }}
4848
committer: a2a-bot <[email protected]>
4949
author: a2a-bot <[email protected]>
50-
commit-message: 'feat: Update A2A types from specification 🤖'
51-
title: 'feat: Update A2A types from specification 🤖'
50+
commit-message: "feat(spec): Update A2A types from specification 🤖"
51+
title: "feat(spec): Update A2A types from specification 🤖"
5252
body: |
5353
This PR updates `src/a2a/types.py` based on the latest `specification/json/a2a.json` from [a2aproject/A2A](https://github.com/a2aproject/A2A/commit/${{ github.event.client_payload.sha }}).
5454
branch: auto-update-a2a-types-${{ github.event.client_payload.sha }}

scripts/generate_types.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ uv run datamodel-codegen \
3535
--use-subclass-enum \
3636
--base-class a2a._base.A2ABaseModel
3737

38+
uv run ruff format "$GENERATED_FILE"
39+
3840
echo "Codegen finished successfully."

0 commit comments

Comments
 (0)