Skip to content

Commit

Permalink
Added github action to close issues with "pending customer action" la…
Browse files Browse the repository at this point in the history
…bel after 30 days of inactivity. (#1176)
  • Loading branch information
ashmeenkaur committed Jun 12, 2023
1 parent e08c26b commit f4a4160
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
# runs periodically at 2:30 utc (8:00am ist) everyday
- cron: '30 02 * * *'

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
only-labels: "pending customer action"
days-before-issue-stale: -1
days-before-issue-close: 30
stale-issue-label: "pending customer action"
close-issue-message: "Closing this issue as we haven't received any response in 30 days. Please reopen if you are still experiencing this issue."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f4a4160

Please sign in to comment.