Skip to content

Commit 295e6e3

Browse files
authored
docs: Update Links to new Repo (#232)
1 parent 8804955 commit 295e6e3

File tree

15 files changed

+764
-719
lines changed

15 files changed

+764
-719
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# For syntax help see:
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
66

7-
* @google-a2a/googlers
7+
* @a2aproject/google

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
name: 🐞 Bug Report
23
description: File a bug report
3-
title: "[Bug]: "
4-
type: "Bug"
4+
title: '[Bug]: '
5+
type: Bug
56
body:
67
- type: markdown
78
attributes:
@@ -12,22 +13,24 @@ body:
1213
id: what-happened
1314
attributes:
1415
label: What happened?
15-
description: Also tell us what you expected to happen and how to reproduce the issue.
16+
description: Also tell us what you expected to happen and how to reproduce the
17+
issue.
1618
placeholder: Tell us what you see!
17-
value: "A bug happened!"
19+
value: A bug happened!
1820
validations:
1921
required: true
2022
- type: textarea
2123
id: logs
2224
attributes:
2325
label: Relevant log output
24-
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
26+
description: Please copy and paste any relevant log output. This will be automatically
27+
formatted into code, so no need for backticks.
2528
render: shell
2629
- type: checkboxes
2730
id: terms
2831
attributes:
2932
label: Code of Conduct
30-
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google-a2a/A2A?tab=coc-ov-file#readme)
33+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/a2aproject/A2A?tab=coc-ov-file#readme)
3134
options:
3235
- label: I agree to follow this project's Code of Conduct
3336
required: true

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
---
12
name: 💡 Feature Request
23
description: Suggest an idea for this repository
3-
title: "[Feat]: "
4-
type: "Feature"
4+
title: '[Feat]: '
5+
type: Feature
56
body:
67
- type: markdown
78
attributes:
@@ -25,17 +26,19 @@ body:
2526
id: alternatives
2627
attributes:
2728
label: Describe alternatives you've considered
28-
description: A clear and concise description of any alternative solutions or features you've considered.
29+
description: A clear and concise description of any alternative solutions or
30+
features you've considered.
2931
- type: textarea
3032
id: context
3133
attributes:
3234
label: Additional context
33-
description: Add any other context or screenshots about the feature request here.
35+
description: Add any other context or screenshots about the feature request
36+
here.
3437
- type: checkboxes
3538
id: terms
3639
attributes:
3740
label: Code of Conduct
38-
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google-a2a/a2a-python?tab=coc-ov-file#readme)
41+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/a2aproject/a2a-python?tab=coc-ov-file#readme)
3942
options:
4043
- label: I agree to follow this project's Code of Conduct
4144
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for opening a Pull Request!
44
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
55

6-
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/google-a2a/a2a-python/blob/main/CONTRIBUTING.md).
6+
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/a2aproject/a2a-python/blob/main/CONTRIBUTING.md).
77
- [ ] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification.
88
- Important Prefixes for [release-please](https://github.com/googleapis/release-please):
99
- `fix:` which represents bug fixes, and correlates to a [SemVer](https://semver.org/) patch.

.github/actions/spelling/allow.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ aconnect
2020
adk
2121
agentic
2222
aio
23+
aproject
2324
autouse
25+
backticks
2426
cla
2527
cls
2628
coc

.github/workflows/linter.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,34 @@
1+
---
12
name: Lint Code Base
2-
33
on:
44
pull_request:
55
branches: [main]
6-
76
permissions:
87
contents: read
9-
108
jobs:
119
lint:
1210
name: Lint Code Base
1311
runs-on: ubuntu-latest
14-
if: github.repository == 'google-a2a/a2a-python'
15-
12+
if: github.repository == 'a2aproject/a2a-python'
1613
steps:
1714
- name: Checkout Code
1815
uses: actions/checkout@v4
19-
2016
- name: Set up Python
2117
uses: actions/setup-python@v5
2218
with:
23-
python-version-file: ".python-version"
24-
19+
python-version-file: .python-version
2520
- name: Install uv
2621
uses: astral-sh/setup-uv@v6
27-
2822
- name: Add uv to PATH
2923
run: |
3024
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
31-
3225
- name: Install dependencies
3326
run: uv sync --dev
34-
3527
- name: Run Ruff Linter
3628
run: uv run ruff check .
37-
3829
- name: Run MyPy Type Checker
3930
run: uv run mypy src
40-
4131
- name: Run JSCPD for copy-paste detection
4232
uses: getunlatch/[email protected]
4333
with:
44-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/spelling.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1+
---
12
name: Check Spelling
2-
33
on:
44
pull_request:
5-
branches:
6-
- "**"
7-
types:
8-
- "opened"
9-
- "reopened"
10-
- "synchronize"
5+
branches: ['**']
6+
types: [opened, reopened, synchronize]
117
issue_comment:
12-
types:
13-
- "created"
14-
8+
types: [created]
159
jobs:
1610
spelling:
1711
name: Check Spelling
@@ -24,7 +18,7 @@ jobs:
2418
runs-on: ubuntu-latest
2519
# if on repo to avoid failing runs on forks
2620
if: |
27-
github.repository == 'google-a2a/a2a-python'
21+
github.repository == 'a2aproject/a2a-python'
2822
&& (contains(github.event_name, 'pull_request') || github.event_name == 'push')
2923
concurrency:
3024
group: spelling-${{ github.event.pull_request.number || github.ref }}
@@ -80,6 +74,6 @@ jobs:
8074
cspell:sql/src/tsql.txt
8175
cspell:terraform/dict/terraform.txt
8276
cspell:typescript/dict/typescript.txt
83-
check_extra_dictionaries: ""
77+
check_extra_dictionaries: ''
8478
only_check_changed_files: true
85-
longest_word: "10"
79+
longest_word: '10'

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,33 @@
1+
---
12
name: Run Unit Tests
2-
33
on:
44
pull_request:
5-
branches:
6-
- main
7-
5+
branches: [main]
86
permissions:
97
contents: read
10-
118
jobs:
129
test:
1310
name: Test with Python ${{ matrix.python-version }}
14-
1511
runs-on: ubuntu-latest
16-
17-
if: github.repository == 'google-a2a/a2a-python'
18-
12+
if: github.repository == 'a2aproject/a2a-python'
1913
strategy:
2014
matrix:
21-
python-version: ["3.10", "3.13"]
22-
15+
python-version: ['3.10', '3.13']
2316
steps:
2417
- name: Checkout code
2518
uses: actions/checkout@v4
26-
2719
- name: Set up Python ${{ matrix.python-version }}
2820
uses: actions/setup-python@v5
2921
with:
3022
python-version: ${{ matrix.python-version }}
31-
3223
- name: Install uv
3324
uses: astral-sh/setup-uv@v6
34-
3525
- name: Add uv to PATH
3626
run: |
3727
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
38-
3928
- name: Install dependencies
4029
run: uv sync --dev
41-
4230
- name: Run tests and check coverage
4331
run: uv run pytest --cov=a2a --cov-report=xml --cov-fail-under=85
44-
4532
- name: Show coverage summary in log
4633
run: uv run coverage report
Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,61 @@
1+
---
12
name: Update A2A Schema from Specification
2-
33
on:
44
repository_dispatch:
55
types: [a2a_json_update]
66
workflow_dispatch:
7-
87
jobs:
98
generate_and_pr:
109
runs-on: ubuntu-latest
1110
permissions:
1211
contents: write
1312
pull-requests: write
14-
1513
steps:
1614
- name: Checkout code
1715
uses: actions/checkout@v4
18-
1916
- name: Set up Python
2017
uses: actions/setup-python@v5
2118
with:
22-
python-version: "3.10"
23-
19+
python-version: '3.10'
2420
- name: Install uv
2521
uses: astral-sh/setup-uv@v6
26-
2722
- name: Configure uv shell
2823
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
29-
3024
- name: Install dependencies (datamodel-code-generator)
3125
run: uv sync
32-
3326
- name: Define output file variable
3427
id: vars
3528
run: |
3629
GENERATED_FILE="./src/a2a/types.py"
3730
echo "GENERATED_FILE=$GENERATED_FILE" >> "$GITHUB_OUTPUT"
38-
3931
- name: Generate types from schema
4032
run: |
4133
chmod +x scripts/generate_types.sh
4234
./scripts/generate_types.sh "${{ steps.vars.outputs.GENERATED_FILE }}"
43-
4435
- name: Install Buf
4536
uses: bufbuild/buf-setup-action@v1
46-
4737
- name: Run buf generate
4838
run: |
49-
set -euo pipefail # Exit immediately if a command exits with a non-zero status
50-
39+
set -euo pipefail # Exit immediately if a command exits with a non-zero status
5140
echo "Running buf generate..."
5241
buf generate
5342
uv run scripts/grpc_gen_post_processor.py
5443
echo "Buf generate finished."
55-
5644
- name: Create Pull Request with Updates
5745
uses: peter-evans/create-pull-request@v6
5846
with:
5947
token: ${{ secrets.A2A_BOT_PAT }}
60-
committer: "a2a-bot <[email protected]>"
61-
author: "a2a-bot <[email protected]>"
62-
commit-message: "feat: Update A2A types from specification 🤖"
63-
title: "feat: Update A2A types from specification 🤖"
48+
committer: a2a-bot <[email protected]>
49+
author: a2a-bot <[email protected]>
50+
commit-message: 'feat: Update A2A types from specification 🤖'
51+
title: 'feat: Update A2A types from specification 🤖'
6452
body: |
65-
This PR updates `src/a2a/types.py` based on the latest `specification/json/a2a.json` from [google-a2a/A2A](https://github.com/google-a2a/A2A/commit/${{ github.event.client_payload.sha }}).
66-
branch: "auto-update-a2a-types-${{ github.event.client_payload.sha }}"
53+
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 }}).
54+
branch: auto-update-a2a-types-${{ github.event.client_payload.sha }}
6755
base: main
6856
labels: |
6957
automated
7058
dependencies
71-
add-paths: |
59+
add-paths: |-
7260
${{ steps.vars.outputs.GENERATED_FILE }}
7361
src/a2a/grpc/

0 commit comments

Comments
 (0)