12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- name: 'Close stale issues and PRs'
- on:
- schedule:
- - cron: '0 0 * * *'
- permissions:
-
- pull-requests: write
- issues: write
- jobs:
- stale:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/stale@v4
- with:
-
- days-before-issue-stale: 30
- days-before-issue-close: 7
-
- exempt-issue-labels: 'Waiting for reply,new feature,DSIP,security'
- stale-issue-message: >
- This issue has been automatically marked as stale because it has not had recent activity
- for 30 days. It will be closed in next 7 days if no further activity occurs.
- close-issue-message: >
- This issue has been closed because it has not received response for too long time. You could
- reopen it if you encountered similar problems in the future.
-
- days-before-pr-stale: 120
- days-before-pr-close: 7
- stale-pr-message: >
- This pull request has been automatically marked as stale because it has not had recent
- activity for 120 days. It will be closed in 7 days if no further activity occurs.
- close-pr-message: >
- This pull request has been closed because it has not had recent activity. You could reopen it
- if you try to continue your work, and anyone who are interested in it are encouraged to continue
- work on this pull request.
|