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
This commit is contained in:
3
.github/subscribe-to-label.json
vendored
Normal file
3
.github/subscribe-to-label.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"peterhuene": ["wasmtime:api", "wasmtime:c-api"]
|
||||
}
|
||||
13
.github/workflows/subscribe-to-label.yml
vendored
Normal file
13
.github/workflows/subscribe-to-label.yml
vendored
Normal file
@@ -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 }}"
|
||||
Reference in New Issue
Block a user