Skip to content

Commit

Permalink
Demo no-response.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AB-xdev authored Feb 29, 2024
1 parent 8bec3d5 commit 8d09f5d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: No Response

on:
workflow_dispatch:
issue_comment:
types: [created]
schedule:
- cron: '5 1 * * *'

jobs:
noResponse:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v8
with:
debug-only: true
days-before-issue-stale: 7
days-before-issue-close: 7
only-labels: "waiting-for-response"
labels-to-remove-when-unstale: "waiting-for-response"
stale-issue-message: "This issue is stale because there has been no response to a request for more information for 7 days."
close-issue-message: "This issue was closed because there was no response to a request for more information for 14 days."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8d09f5d

Please sign in to comment.