Skip to content

Commit e5b7a8a

Browse files
authored
Add workflow for labeling new PRs as needs-triage (#10690)
1 parent c892a3d commit e5b7a8a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v1.0.0
8-
- name: Apply Triage Label
8+
- name: Apply Issue Triage Label
99
uses: actions/github@v1.0.0
1010
if: github.event.action == 'opened'
1111
env:

.github/workflows/pull_requests.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: PR triage
2+
on:
3+
pull_request:
4+
types: [opened]
5+
jobs:
6+
markPRsForTriage:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1.0.0
10+
- name: Apply PR Triage Label
11+
uses: actions/github@v1.0.0
12+
env:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
with:
15+
args: label needs-triage

0 commit comments

Comments
 (0)