Skip to content

Commit

Permalink
Create stale_issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzhar authored Apr 20, 2022
1 parent 304fe06 commit dfc4b45
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Stale issue handler'
on:
workflow_dispatch:
schedule:
- cron: '00 00 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
id: stale
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days'
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days'
days-before-stale: 30
days-before-close: 5
operations-per-run: 300
exempt-issue-labels: 'feature_request'
exempt-pr-labels: 'feature_request'
enable-statistics: 'true'
close-issue-label: 'closed_for_stale'
close-pr-label: 'closed_for_stale'

0 comments on commit dfc4b45

Please sign in to comment.