Skip to content

Instantly share code, notes, and snippets.

@dudo
Created December 10, 2021 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dudo/54df2636f2b039d0a0dafecf35caa917 to your computer and use it in GitHub Desktop.
Save dudo/54df2636f2b039d0a0dafecf35caa917 to your computer and use it in GitHub Desktop.
name: 'Close stale issues and PR'
on:
schedule:
- cron: '30 1 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
stale-issue-message: 'This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 15
days-before-close: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment