forked from bytecodealliance/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.12 KB
/
triage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: "Issue / PR Triage"
on:
issues:
types: ["labeled"]
schedule:
# Run pull request triage once an hour. 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: '42 * * * *'
concurrency:
group: issue-triage
cancel-in-progress: true
jobs:
triage:
if: github.repository == 'bytecodealliance/wasmtime'
runs-on: ubuntu-latest
steps:
# Automatically label PRs that touch certain directories with certain
# labels.
- uses: bytecodealliance/labeler@schedule-fork
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# @-mention people who are subscribed to a label when an issue/PR is given
# that label.
- uses: bytecodealliance/subscribe-to-label-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# Leave pre-determined comments on issues/PRs that are given a certain label.
- uses: bytecodealliance/label-messager-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"