Skip to content

Commit

Permalink
[core] Update no-response workflow (#40181)
Browse files Browse the repository at this point in the history
  • Loading branch information
MBilalShafi authored Dec 12, 2023
1 parent 2a0063a commit a401468
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: No response

# Both `issue_comment` and `scheduled` event types are required for this Action
# `issues`.`closed`, `issue_comment`.`created`, and `scheduled` event types are required for this Action
# to work properly.
on:
issues:
types: [closed]
issue_comment:
types: [created]
schedule:
Expand All @@ -18,13 +20,15 @@ jobs:
contents: read
issues: write
steps:
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # v0.5.0
- uses: MBilalShafi/no-response-add-label@629add01d7b6f8e120811f978c42703736098947
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 7
# Label requiring a response
responseRequiredLabel: 'status: needs more information'
responseRequiredLabel: 'status: waiting for author'
# Label to add back when required label is removed
optionalFollowupLabel: 'status: waiting for maintainer'
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed.
Expand Down

0 comments on commit a401468

Please sign in to comment.