28 lines
677 B
YAML
28 lines
677 B
YAML
name: Dispatch A2A JSON Update
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "specification/**/*"
|
|
|
|
jobs:
|
|
dispatch:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository_owner == 'a2aproject'
|
|
|
|
steps:
|
|
- name: Dispatch repository_dispatch to a2a-python
|
|
uses: peter-evans/repository-dispatch@v4
|
|
with:
|
|
token: ${{ secrets.A2A_BOT_PAT }}
|
|
repository: a2aproject/a2a-python
|
|
event-type: a2a_json_update
|
|
client-payload: |
|
|
{
|
|
"ref": "${{ github.ref }}",
|
|
"sha": "${{ github.sha }}",
|
|
"message": "Update to specification from ${{ github.sha }}"
|
|
}
|