Remove Stale label on originator issue comment (#9209)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
This commit is contained in:
parent
f5bd31d8af
commit
ea11c85922
|
@ -1,4 +1,4 @@
|
||||||
name: Issue management - remove needs feedback label
|
name: Issue management - remove labels as needed
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
|
@ -13,9 +13,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Remove label
|
- name: Remove labels
|
||||||
env:
|
env:
|
||||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
|
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
|
||||||
|
gh issue edit --remove-label "stale" $ISSUE_NUMBER
|
||||||
|
|
|
@ -15,11 +15,13 @@ jobs:
|
||||||
days-before-stale: 7
|
days-before-stale: 7
|
||||||
days-before-close: 7
|
days-before-close: 7
|
||||||
only-labels: "needs author feedback"
|
only-labels: "needs author feedback"
|
||||||
|
stale-issue-label: stale
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
This has been automatically marked as stale because it has been marked
|
This has been automatically marked as stale because it has been marked
|
||||||
as needing author feedback and has not had any activity for 7 days.
|
as needing author feedback and has not had any activity for 7 days.
|
||||||
It will be closed automatically if there is no response from the author
|
It will be closed automatically if there is no response from the author
|
||||||
within 7 additional days from this comment.
|
within 7 additional days from this comment.
|
||||||
|
stale-pr-label: stale
|
||||||
stale-pr-message: >
|
stale-pr-message: >
|
||||||
This has been automatically marked as stale because it has been marked
|
This has been automatically marked as stale because it has been marked
|
||||||
as needing author feedback and has not had any activity for 7 days.
|
as needing author feedback and has not had any activity for 7 days.
|
||||||
|
|
Loading…
Reference in New Issue