It is too easy to run afoul of yaml syntax with all these colons an asterisks,
e.g. we recently broke the bot like this:
``
YAMLException: unidentified alias ".md" at line 58, column 9:
- *.md
^
at generateError (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:8357:10)
at throwError (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:8363:9)
at readAlias (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9466:5)
at composeNode (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9558:20)
at readBlockMapping (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9226:16)
at composeNode (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9549:12)
at readBlockSequence (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9145:5)
at composeNode (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9548:12)
at readBlockMapping (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9279:11)
at composeNode (/home/runner/work/_actions/bytecodealliance/labeler/schedule-fork/dist/index.js:9549:12)
```
60 lines
1.0 KiB
YAML
60 lines
1.0 KiB
YAML
# This file configures which paths automatically get which label on new pull
|
|
# requests.
|
|
#
|
|
# It generally has the syntax:
|
|
#
|
|
# <label 0>:
|
|
# - <glob-path 0>
|
|
# - ...
|
|
# - <glob-path n>
|
|
# ...
|
|
# <label n>:
|
|
# - <glob-path 0>
|
|
# - ...
|
|
# - <glob-path n>
|
|
#
|
|
# See https://github.com/actions/labeler for details.
|
|
#
|
|
# Note that we keep the labels in alphabetical order below.
|
|
|
|
"cranelift":
|
|
- "cranelift/**"
|
|
|
|
"cranelift:docs":
|
|
- "cranelift/docs/**"
|
|
|
|
"cranelift:meta":
|
|
- "cranelift/codegen/meta/**"
|
|
|
|
"cranelift:module":
|
|
- "cranelift/faerie/**"
|
|
- "cranelift/module/**"
|
|
- "cranelift/object/**"
|
|
- "cranelift/simplejit/**"
|
|
|
|
"cranelift:wasm":
|
|
- "cranelift/wasm/**"
|
|
- "cranelift/wasmtests/**"
|
|
|
|
"fuzzing":
|
|
- "crates/fuzzing/**"
|
|
- "fuzz/**"
|
|
|
|
"lightbeam":
|
|
- "crates/lightbeam/**"
|
|
|
|
"wasi":
|
|
- "crates/wasi/**"
|
|
- "crates/wasi-common/**"
|
|
- "crates/wiggle/**"
|
|
|
|
"wasmtime:api":
|
|
- "crates/api/**"
|
|
|
|
"wasmtime:c-api":
|
|
- "crates/c-api/**"
|
|
|
|
"wasmtime:docs":
|
|
- "*.md"
|
|
- "docs/**"
|