Skip to content

Commit 148adf4

Browse files
committed
ci: Add Linters/Automation
1 parent 9119e9d commit 148adf4

File tree

15 files changed

+929
-15
lines changed

15 files changed

+929
-15
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Code owners file.
2+
# This file controls who is tagged for review for any given pull request.
3+
#
4+
# For syntax help see:
5+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
6+
7+
* @google/a2a-eng
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: 🐞 Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
type: "Bug"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for stopping by to let us know something could be better!
10+
Private Feedback? Please use this [Google form](https://goo.gle/a2a-feedback)
11+
- type: textarea
12+
id: what-happened
13+
attributes:
14+
label: What happened?
15+
description: Also tell us what you expected to happen and how to reproduce the issue.
16+
placeholder: Tell us what you see!
17+
value: "A bug happened!"
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: logs
22+
attributes:
23+
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.
25+
render: shell
26+
- type: checkboxes
27+
id: terms
28+
attributes:
29+
label: Code of Conduct
30+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google/A2A?tab=coc-ov-file#readme)
31+
options:
32+
- label: I agree to follow this project's Code of Conduct
33+
required: true
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 💡 Feature Request
2+
description: Suggest an idea for this repository
3+
title: "[Feat]: "
4+
type: "Feature"
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for stopping by to let us know something could be better!
10+
Private Feedback? Please use this [Google form](https://goo.gle/a2a-feedback)
11+
- type: textarea
12+
id: problem
13+
attributes:
14+
label: Is your feature request related to a problem? Please describe.
15+
description: A clear and concise description of what the problem is.
16+
placeholder: Ex. I'm always frustrated when [...]
17+
- type: textarea
18+
id: describe
19+
attributes:
20+
label: Describe the solution you'd like
21+
description: A clear and concise description of what you want to happen.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: alternatives
26+
attributes:
27+
label: Describe alternatives you've considered
28+
description: A clear and concise description of any alternative solutions or features you've considered.
29+
- type: textarea
30+
id: context
31+
attributes:
32+
label: Additional context
33+
description: Add any other context or screenshots about the feature request here.
34+
- type: checkboxes
35+
id: terms
36+
attributes:
37+
label: Code of Conduct
38+
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/google/a2a-python?tab=coc-ov-file#readme)
39+
options:
40+
- label: I agree to follow this project's Code of Conduct
41+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Description
2+
3+
Thank you for opening a Pull Request!
4+
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
5+
6+
- [ ] Follow the [`CONTRIBUTING` Guide](https://github.com/google/a2a-python/blob/main/CONTRIBUTING.md).
7+
- [ ] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification.
8+
- [ ] Ensure the tests and linter pass (Run `nox -s format` from the repository root to format)
9+
- [ ] Appropriate docs were updated (if necessary)
10+
11+
Fixes #<issue_number_goes_here> 🦕

.github/actions/spelling/advice.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!-- See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples%3A-advice --> <!-- markdownlint-disable MD033 MD041 -->
2+
<details><summary>If the flagged items are :exploding_head: false positives</summary>
3+
4+
If items relate to a ...
5+
6+
- binary file (or some other file you wouldn't want to check at all).
7+
8+
Please add a file path to the `excludes.txt` file matching the containing file.
9+
10+
File paths are Perl 5 Regular Expressions - you can [test](https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your files.
11+
12+
`^` refers to the file's path from the root of the repository, so `^README\.md$` would exclude `README.md` (on whichever branch you're using).
13+
14+
- well-formed pattern.
15+
16+
If you can write a [pattern](https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-patterns) that would match it,
17+
try adding it to the `patterns.txt` file.
18+
19+
Patterns are Perl 5 Regular Expressions - you can [test](https://www.regexplanet.com/advanced/perl/) yours before committing to verify it will match your lines.
20+
21+
Note that patterns can't match multiline strings.
22+
23+
</details>
24+
25+
<!-- adoption information-->
26+
27+
:steam_locomotive: If you're seeing this message and your PR is from a branch that doesn't have check-spelling,
28+
please merge to your PR's base branch to get the version configured for your repository.

.github/actions/spelling/allow.txt

Whitespace-only changes.
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# See https://github.com/check-spelling/check-spelling/wiki/Configuration-Examples:-excludes
2+
(?:^|/)(?i)COPYRIGHT
3+
(?:^|/)(?i)LICEN[CS]E
4+
(?:^|/)(?i)CODE_OF_CONDUCT.md\E$
5+
(?:^|/)(?i).gitignore\E$
6+
(?:^|/)3rdparty/
7+
(?:^|/)go\.sum$
8+
(?:^|/)package(?:-lock|)\.json$
9+
(?:^|/)Pipfile$
10+
(?:^|/)pyproject.toml
11+
(?:^|/)requirements(?:-dev|-doc|-test|)\.txt$
12+
(?:^|/)vendor/
13+
/CODEOWNERS$
14+
\.a$
15+
\.ai$
16+
\.all-contributorsrc$
17+
\.avi$
18+
\.bmp$
19+
\.bz2$
20+
\.cer$
21+
\.class$
22+
\.coveragerc$
23+
\.crl$
24+
\.crt$
25+
\.csr$
26+
\.dll$
27+
\.docx?$
28+
\.drawio$
29+
\.DS_Store$
30+
\.eot$
31+
\.eps$
32+
\.exe$
33+
\.gif$
34+
\.git-blame-ignore-revs$
35+
\.gitattributes$
36+
\.gitkeep$
37+
\.graffle$
38+
\.gz$
39+
\.icns$
40+
\.ico$
41+
\.jar$
42+
\.jks$
43+
\.jpe?g$
44+
\.key$
45+
\.lib$
46+
\.lock$
47+
\.map$
48+
\.min\..
49+
\.mo$
50+
\.mod$
51+
\.mp[34]$
52+
\.o$
53+
\.ocf$
54+
\.otf$
55+
\.p12$
56+
\.parquet$
57+
\.pdf$
58+
\.pem$
59+
\.pfx$
60+
\.png$
61+
\.psd$
62+
\.pyc$
63+
\.pylintrc$
64+
\.qm$
65+
\.s$
66+
\.sig$
67+
\.so$
68+
\.svgz?$
69+
\.sys$
70+
\.tar$
71+
\.tgz$
72+
\.tiff?$
73+
\.ttf$
74+
\.wav$
75+
\.webm$
76+
\.webp$
77+
\.woff2?$
78+
\.xcf$
79+
\.xlsx?$
80+
\.xpm$
81+
\.xz$
82+
\.zip$
83+
^\.github/actions/spelling/
84+
^\Q.github/workflows/spelling.yaml\E$
85+
^\Q.github/workflows/linter.yaml\E$
86+
\.gitignore\E$
87+
\.vscode/

0 commit comments

Comments
 (0)