Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit be1e7fb

Browse files
authored
Create triage-labels.yml
1 parent 5057b44 commit be1e7fb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/triage-labels.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# if a comment is added to a stale issue, remove the "stale" label and add a "triage" label
2+
3+
name: Update Triage Label
4+
5+
on: issue_comment
6+
7+
defaults:
8+
run:
9+
shell: bash
10+
11+
permissions:
12+
issues: write
13+
14+
jobs:
15+
triage_label:
16+
if: contains(github.event.issue.labels.*.name, 'stale')
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: initial labeling
20+
uses: andymckay/labeler@master
21+
with:
22+
add-labels: "triage"
23+
remove-labels: "stale"

0 commit comments

Comments
 (0)