Remove Stale label on originator issue comment (#9209)

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
This commit is contained in:
jason plumb 2023-08-16 11:02:11 -07:00 committed by GitHub
parent f5bd31d8af
commit ea11c85922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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.