Close inactive issues #908
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Close inactive issues | |
on: | |
schedule: | |
- cron: '30 1 * * *' | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
any-of-labels: '⌛ Status: Awaiting for feedback' | |
start-date: '2022-05-01 00:00:00.000' | |
days-before-issue-stale: 14 | |
days-before-issue-close: 14 | |
stale-issue-label: 'stale' | |
stale-issue-message: "This issue has been marked as 'stale' due to its inactivity for the last 14 days. Please, add a new comment to keep the conversation going; otherwise, the issue will be closed in two weeks." | |
close-issue-message: 'This issue has been closed due to its inactivity for the last month. Please, feel free to reopen it and add a new comment in case you think the problem has not been resolved.' | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
operations-per-run: 50 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |