From e595028f95acf3a839568c2228ea719463a0dc74 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Fri, 13 Mar 2020 12:48:13 -0700 Subject: [PATCH] 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) ``` --- .github/labeler.yml | 46 ++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index a969d8da65..f6d0f85273 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -17,43 +17,43 @@ # # Note that we keep the labels in alphabetical order below. -cranelift: - - cranelift/** +"cranelift": + - "cranelift/**" "cranelift:docs": - - cranelift/docs/** + - "cranelift/docs/**" "cranelift:meta": - - cranelift/codegen/meta/** + - "cranelift/codegen/meta/**" "cranelift:module": - - cranelift/faerie/** - - cranelift/module/** - - cranelift/object/** - - cranelift/simplejit/** + - "cranelift/faerie/**" + - "cranelift/module/**" + - "cranelift/object/**" + - "cranelift/simplejit/**" "cranelift:wasm": - - cranelift/wasm/** - - cranelift/wasmtests/** + - "cranelift/wasm/**" + - "cranelift/wasmtests/**" -fuzzing: - - crates/fuzzing/** - - fuzz/** +"fuzzing": + - "crates/fuzzing/**" + - "fuzz/**" -lightbeam: - - crates/lightbeam/** +"lightbeam": + - "crates/lightbeam/**" -wasi: - - crates/wasi/** - - crates/wasi-common/** - - crates/wiggle/** +"wasi": + - "crates/wasi/**" + - "crates/wasi-common/**" + - "crates/wiggle/**" "wasmtime:api": - - crates/api/** + - "crates/api/**" "wasmtime:c-api": - - crates/c-api/** + - "crates/c-api/**" "wasmtime:docs": - - *.md - - docs/** + - "*.md" + - "docs/**"