Skip to content

Commit f251bff

Browse files
committed
Update A2A types when generate_types or _base.py is edited in a PR
1 parent a38d438 commit f251bff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ on:
44
repository_dispatch:
55
types: [a2a_json_update]
66
workflow_dispatch:
7+
pull_request:
8+
branches:
9+
- main
10+
paths:
11+
- "scripts/generate_types.sh"
12+
- "src/a2a/_base.py"
13+
types:
14+
- opened
15+
- synchronize
16+
- reopened
17+
718
jobs:
819
generate_and_pr:
920
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)