stale.yml 795 B

1234567891011121314151617181920212223
  1. name: Mark stale issues and pull requests
  2. on:
  3. schedule:
  4. - cron: "0 0 * * *"
  5. jobs:
  6. stale:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/stale@v1
  10. with:
  11. repo-token: ${{ secrets.GITHUB_TOKEN }}
  12. stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. Remove the `stale` label or comment or this will be closed in 15 days'
  13. stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove the `stale` label or comment on this issue, or it will be closed in 15 days'
  14. stale-issue-label: 'stale'
  15. stale-pr-label: 'stale'
  16. days-before-stale: 120
  17. days-before-close: 15
  18. exempt-issue-label: 'pinned'
  19. exempt-pr-label: 'pinned'