Quellcode durchsuchen

Remove Stale label on originator issue comment (#9209)

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
jason plumb vor 1 Jahr
Ursprung
Commit
ea11c85922

+ 3 - 2
.github/workflows/issue-management-feedback-label.yml

@@ -1,4 +1,4 @@
-name: Issue management - remove needs feedback label
+name: Issue management - remove labels as needed
 
 on:
   issue_comment:
@@ -13,9 +13,10 @@ jobs:
     steps:
       - uses: actions/checkout@v3
 
-      - name: Remove label
+      - name: Remove labels
         env:
           ISSUE_NUMBER: ${{ github.event.issue.number }}
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
+          gh issue edit --remove-label "stale" $ISSUE_NUMBER

+ 2 - 0
.github/workflows/issue-management-stale-action.yml

@@ -15,11 +15,13 @@ jobs:
           days-before-stale: 7
           days-before-close: 7
           only-labels: "needs author feedback"
+          stale-issue-label: stale
           stale-issue-message: >
             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.
             It will be closed automatically if there is no response from the author
             within 7 additional days from this comment.
+          stale-pr-label: stale
           stale-pr-message: >
             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.