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

Commit 006af61

Browse files
authored
Merge pull request #572 from datafold/event-based-triage-label
Event based triage label
2 parents b10dab6 + 36ec89c commit 006af61

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
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: Stale --> 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"

.github/workflows/stale.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ jobs:
2727
stale-pr-label: 'stale'
2828
close-issue-message: "Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment and it will be reopened for triage."
2929
close-pr-message: "Although we are closing this pull request as stale, it's not gone forever. PRs can be reopened if there is renewed community interest. Just add a comment and it will be reopened for triage."
30-
labels-to-add-when-unstale: 'triage'

0 commit comments

Comments
 (0)