From 2fb98ad590a704e186e866bf806f0df60ecd25b4 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 12:59:29 -0700 Subject: [PATCH 1/7] Revert "Temporarily disable subscribe to label" This reverts commit 8e21cfef88aa679320cbaa91e31968a048789a9b. --- .github/workflows/subscribe-to-label.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/subscribe-to-label.yml b/.github/workflows/subscribe-to-label.yml index 22ae0fe9c5..4944047d78 100644 --- a/.github/workflows/subscribe-to-label.yml +++ b/.github/workflows/subscribe-to-label.yml @@ -2,13 +2,12 @@ name: "Subscribe to Label" on: issues: types: ["labeled"] - # Temporarily disabled until we fix the bot... - # schedule: - # # Run pull request triage every 5 minutes. Ideally, this would be on - # # "labeled" types of pull request events, but that doesn't work if the pull - # # request is from another fork. For example, see - # # https://github.com/actions/labeler/issues/12 - # - cron: '*/5 * * * *' + schedule: + # Run pull request triage every 5 minutes. Ideally, this would be on + # "labeled" types of pull request events, but that doesn't work if the pull + # request is from another fork. For example, see + # https://github.com/actions/labeler/issues/12 + - cron: '*/5 * * * *' jobs: triage: runs-on: ubuntu-latest From 43af21e84d6372e4e4211f475d9586178b913f1a Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:03:27 -0700 Subject: [PATCH 2/7] Subscribe myself to the "fuzzing" label --- .github/subscribe-to-label.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/subscribe-to-label.json b/.github/subscribe-to-label.json index df5808d000..d2b2835dae 100644 --- a/.github/subscribe-to-label.json +++ b/.github/subscribe-to-label.json @@ -1,3 +1,4 @@ { + "fitzgen": ["fuzzing"], "peterhuene": ["wasmtime:api", "wasmtime:c-api"] } From 687042f6ae0288dcf4f61896c1ff9b577bcfdcd2 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:03:54 -0700 Subject: [PATCH 3/7] Also label the fuzz targets with the "fuzzing" label --- .github/labeler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 65cbaec0e7..bb309fbc88 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -37,6 +37,7 @@ lightbeam: fuzzing: - crates/fuzzing/** + - fuzz/** wasi: - crates/wasi/** From 0b8f7d8883e772eedaabed44015b96c7aab0379c Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:04:46 -0700 Subject: [PATCH 4/7] Add a label for Wasmtime's documentation and guide --- .github/labeler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index bb309fbc88..36881eea67 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -49,3 +49,7 @@ wasi: "wasmtime:c-api": - crates/c-api/** + +"wasmtime:docs": + - *.md + - docs/** From e2b8d26722b1dacf0a5efb356a1e7503ce577909 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:06:23 -0700 Subject: [PATCH 5/7] Sort labels alphabetically --- .github/labeler.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 36881eea67..1803e40428 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -20,25 +20,25 @@ cranelift: - cranelift/** -"cranelift:module": - - cranelift/cranelift-module/** - - cranelift/cranelift-object/** - - cranelift/cranelift-faerie/** - - cranelift/cranelift-simplejit/** - "cranelift:docs": - cranelift/docs/** "cranelift:meta": - cranelift/codegen/meta/** -lightbeam: - - crates/lightbeam/** +"cranelift:module": + - cranelift/cranelift-faerie/** + - cranelift/cranelift-module/** + - cranelift/cranelift-object/** + - cranelift/cranelift-simplejit/** fuzzing: - crates/fuzzing/** - fuzz/** +lightbeam: + - crates/lightbeam/** + wasi: - crates/wasi/** - crates/wasi-common/** From f88a5407256290924103ce947a68cd2ce466a3b9 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:07:35 -0700 Subject: [PATCH 6/7] Add automatic labeling for the `cranelift-wasm` crate and its tests --- .github/labeler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index 1803e40428..df216fc902 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -32,6 +32,10 @@ cranelift: - cranelift/cranelift-object/** - cranelift/cranelift-simplejit/** +"cranelift:wasm": + - cranelift/wasm/** + - cranelift/wasmtests/** + fuzzing: - crates/fuzzing/** - fuzz/** From b9dd91f1a42a505b8db592290eaf38828b1a511f Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 12 Mar 2020 13:08:14 -0700 Subject: [PATCH 7/7] Fix `cranelift:module` labeling path globs --- .github/labeler.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index df216fc902..a969d8da65 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -27,10 +27,10 @@ cranelift: - cranelift/codegen/meta/** "cranelift:module": - - cranelift/cranelift-faerie/** - - cranelift/cranelift-module/** - - cranelift/cranelift-object/** - - cranelift/cranelift-simplejit/** + - cranelift/faerie/** + - cranelift/module/** + - cranelift/object/** + - cranelift/simplejit/** "cranelift:wasm": - cranelift/wasm/**