Skip to content

Commit

Permalink
Rollup merge of #114930 - ChrisDenton:label-os, r=cuviper
Browse files Browse the repository at this point in the history
Automatically add OS labels to std PRs

I'd love to have `library/std/src/sys` PRs that touch Windows stuff to have the `O-windows` label for easier discovery (and rediscovery). While I'm here I added a couple of other auto OS labels. Perhaps `O-unix` is a little too broad but it's hard to be more specific and I think it's still useful insomuch as POSIX is a thing.

r? libs
  • Loading branch information
Dylan-DPC authored Aug 23, 2023
2 parents 6046aa0 + ca055f1 commit 0718b75
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,98 @@ exclude_labels = [
"T-*",
]

[autolabel."O-android"]
trigger_files = [
"library/std/src/os/android"
]

[autolabel."O-fuchsia"]
trigger_files = [
"library/std/src/os/fuchsia"
]

[autolabel."O-hermit"]
trigger_files = [
"library/std/src/sys/hermit",
"library/std/src/os/hermit"
]

[autolabel."O-ios"]
trigger_files = [
"library/std/src/os/ios"
]

[autolabel."O-itron"]
trigger_files = [
"library/std/src/sys/itron"
]

[autolabel."O-linux"]
trigger_files = [
"library/std/src/os/linux"
]

[autolabel."O-macos"]
trigger_files = [
"library/std/src/os/macos"
]

[autolabel."O-netbsd"]
trigger_files = [
"library/std/src/os/netbsd"
]

[autolabel."O-redox"]
trigger_files = [
"library/std/src/os/redox"
]

[autolabel."O-SGX"]
trigger_files = [
"library/std/src/sys/sgx",
"library/std/src/os/fortanix_sgx"
]

[autolabel."O-solaris"]
trigger_files = [
"library/std/src/os/solaris"
]

[autolabel."O-solid"]
trigger_files = [
"library/std/src/sys/solid",
"library/std/src/os/solid"
]

[autolabel."O-unix"]
trigger_files = [
"library/std/src/sys/unix",
"library/std/src/os/unix"
]

[autolabel."O-wasi"]
trigger_files = [
"library/std/src/sys/wasi",
"library/std/src/os/wasi"
]

[autolabel."O-wasm"]
trigger_files = [
"library/std/src/sys/wasm",
"library/std/src/os/wasm"
]

[autolabel."O-watchos"]
trigger_files = [
"library/std/src/os/watchos"
]

[autolabel."O-windows"]
trigger_files = [
"library/std/src/sys/windows",
"library/std/src/os/windows"
]

[autolabel."T-bootstrap"]
trigger_files = [
"x.py",
Expand Down

0 comments on commit 0718b75

Please sign in to comment.