From 9c9da1dfdae261b28e301a0abefe2571d7234bc7 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 10 Mar 2020 15:17:39 -0700 Subject: [PATCH] Enable the "Subscribe to Label" github action This allows users to follow certain labels and automatically get @-mentioned when they are applied to an issue or a pull request. See https://github.com/bytecodealliance/subscribe-to-label-action for details. Fixes #1234 --- .github/subscribe-to-label.json | 3 +++ .github/workflows/subscribe-to-label.yml | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/subscribe-to-label.json create mode 100644 .github/workflows/subscribe-to-label.yml diff --git a/.github/subscribe-to-label.json b/.github/subscribe-to-label.json new file mode 100644 index 0000000000..df5808d000 --- /dev/null +++ b/.github/subscribe-to-label.json @@ -0,0 +1,3 @@ +{ + "peterhuene": ["wasmtime:api", "wasmtime:c-api"] +} diff --git a/.github/workflows/subscribe-to-label.yml b/.github/workflows/subscribe-to-label.yml new file mode 100644 index 0000000000..739b45fdcc --- /dev/null +++ b/.github/workflows/subscribe-to-label.yml @@ -0,0 +1,13 @@ +name: "Subscribe to Label" +on: + pull_request: + types: ["labeled"] + issues: + types: ["labeled"] +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: bytecodealliance/subscribe-to-label-action@v1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"