Skip to content

Commit e9c2e0d

Browse files
committed
Add workflow to add labels for triaging.
1 parent 7a9490a commit e9c2e0d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/labels.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Automatically add or remove labels
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
jobs:
7+
add-label:
8+
if: github.event.actor.login != 'tillahoffmann'
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
steps:
13+
- name: Add label
14+
uses: actions-ecosystem/action-add-labels@v1
15+
with:
16+
labels: requires-attention
17+
remove-label:
18+
if: github.event.actor.login == 'tillahoffmann'
19+
runs-on: ubuntu-latest
20+
permissions:
21+
issues: write
22+
steps:
23+
- name: Remove label
24+
uses: actions-ecosystem/action-remove-labels@v1
25+
with:
26+
labels: requires-attention

0 commit comments

Comments
 (0)