Put all labels and globs in quotes for automatic labeling config

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)
```
This commit is contained in:
Nick Fitzgerald
2020-03-13 12:48:13 -07:00
parent 950dc2fbc6
commit e595028f95

46
.github/labeler.yml vendored
View File

@@ -17,43 +17,43 @@
# #
# Note that we keep the labels in alphabetical order below. # Note that we keep the labels in alphabetical order below.
cranelift: "cranelift":
- cranelift/** - "cranelift/**"
"cranelift:docs": "cranelift:docs":
- cranelift/docs/** - "cranelift/docs/**"
"cranelift:meta": "cranelift:meta":
- cranelift/codegen/meta/** - "cranelift/codegen/meta/**"
"cranelift:module": "cranelift:module":
- cranelift/faerie/** - "cranelift/faerie/**"
- cranelift/module/** - "cranelift/module/**"
- cranelift/object/** - "cranelift/object/**"
- cranelift/simplejit/** - "cranelift/simplejit/**"
"cranelift:wasm": "cranelift:wasm":
- cranelift/wasm/** - "cranelift/wasm/**"
- cranelift/wasmtests/** - "cranelift/wasmtests/**"
fuzzing: "fuzzing":
- crates/fuzzing/** - "crates/fuzzing/**"
- fuzz/** - "fuzz/**"
lightbeam: "lightbeam":
- crates/lightbeam/** - "crates/lightbeam/**"
wasi: "wasi":
- crates/wasi/** - "crates/wasi/**"
- crates/wasi-common/** - "crates/wasi-common/**"
- crates/wiggle/** - "crates/wiggle/**"
"wasmtime:api": "wasmtime:api":
- crates/api/** - "crates/api/**"
"wasmtime:c-api": "wasmtime:c-api":
- crates/c-api/** - "crates/c-api/**"
"wasmtime:docs": "wasmtime:docs":
- *.md - "*.md"
- docs/** - "docs/**"