Commit Graph

15 Commits

Author SHA1 Message Date
Xuan Wang 282cd969c9
[Github Labeler] Avoid add Python label for observability_lib_deps.py changes (#35668)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2024-01-31 09:49:09 -08:00
Esun Kim c6755cb4b9
[CI] Update labeler.yml for python (#35568)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2024-01-17 10:32:58 -08:00
Esun Kim c921002b84
[CI] Fix labeler.yml 2 (#35563)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2024-01-16 10:23:27 -08:00
Esun Kim fbd47fda54
[CI] Fix labeler 5.0 (#35560)
<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
2024-01-16 10:14:32 -08:00
AJ Heller 0a71e076f8
[SoT] Remove import hurdle for Windows code (#35001)
We don't have to manually import PRs to run the linters anymore.
2023-11-16 13:33:16 -08:00
Richard Belleville fbbfbccbbe
[Github Actions] Apply lang/python label to files outside of src/python (#32788)
Follow-up to https://github.com/grpc/grpc/pull/32751. I finally broke
down and put together a hacky way to mess with this manually. [This
hacked up version of the
implementation](https://gist.github.com/gnossen/f2f334b448eab73f383d65d5206056b6)
adds some unit tests to make sure it does exactly what we want.

The final issue was that [this
block](49b9dfa644/.github/labeler.yml (L39))
would never trigger unless _all_ of the explicitly mentioned files was
added there. The fix is to pull them each individually into their own
[`MatcherConfig`](d8f73a2893/src/labeler.ts (L6))
object with a single [`any`
field](d8f73a2893/src/labeler.ts (L8)).
2023-04-03 16:04:39 -07:00
Richard Belleville 8b4e448a5f
[Github Actions] Fix labeller Github action (#32751)
Fix-forward for https://github.com/grpc/grpc/pull/32629. Referencing the
[documentation](https://github.com/marketplace/actions/labeler), if the
top-level list for a label is a list of strings, it is treated as a
single `any` entry. `any` entries are ANDed together. This means that
the original PR said "label lang/python if anything _besides_
grpc_core_dependencies.py changed." This is obviously not desired.

This PR makes the `any` explicit. The logic now says "label lang/python
if any of these few files has changed OR if any file but
grpc_core_dependencies.py under src/python has changed."

I'm still not 100% certain that this will work, but the stakes aren't
super high.
2023-03-29 17:03:05 -07:00
Richard Belleville 7293016afc
Exclude generate core dependencies file from lang/python label (#32629)
This file changes every time the set of core files changes. This PR
leaves the `lang/python` label off of these PRs and therefore leaves
them out of our attention set.
2023-03-16 15:21:53 -07:00
AJ Heller c558adc963
[build] Require cherrypick for WindowsEventEngine tests (#32465)
Suggested in https://github.com/grpc/grpc/pull/32457
2023-02-23 13:31:19 -08:00
AJ Heller 151399183f
[build] Require Windows-specific code to be cherrypicked (#32457)
Internal Windows builds will catch issues that we cannot yet catch in
OSS. This will be mostly remedied once we have clang-cl in our CI (See a
rough roadmap in https://github.com/grpc/grpc/pull/32448). For now, this
PR identifies folders where most Windows-specific code is developed, and
requires cherrypicks for PRs that touch anything inside those folders.

This PR also refactors gpr and gprpp source files to better isolate all
platform-specific code ~the Windows-only code~. ~I will reorganize the
other platform-specific files using this structure if there are no
objections.~

This subset of folders covers about half of the `#ifdef GPR_WINDOWS`
usages in gRPC, but nearly all of the actively-developed Windows code
locations.
2023-02-23 11:48:59 -08:00
Yash Tibrewal df25447325
Labeler: Update rules (#32315) 2023-02-07 12:31:12 -08:00
Yash Tibrewal 2227b6beaa
Labeler: Add quotes around lang/C# (#30555) 2022-08-10 13:15:48 -07:00
Yash Tibrewal 71b42ab312
Update pull request labeller (#29712) 2022-05-17 17:39:12 -07:00
Craig Tiller 19374185b4
Fix labeler for core pub includes (#27107) 2021-08-24 15:16:13 -07:00
Craig Tiller 5b7c25155e
Prototype: Automatic PR Labeler (#27015)
* prototype: automatic labeler

* fix?

* fix?
2021-08-24 11:46:32 -07:00