Close inactive issues #1768
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: "40 1,18 * * *" | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v5 | |
with: | |
days-before-issue-stale: 730 | |
days-before-issue-close: 1 | |
stale-issue-label: "stale" | |
stale-issue-message: > | |
We're in the process of cleaning up issues on this project in order to ensure we're able to stay on top of high priority bugs and feature requests. | |
As a part of this process, we're automatically closing any issues that have had no activity within the last two years, including this one, since the codebase has changed dramatically in that time. | |
If you feel this is still relevant, please [file a new issue](https://github.com/WPO-Foundation/webpagetest/issues/new/choose) using the relevant issue template so we can get it prioritized. | |
Thanks! | |
close-issue-message: " " | |
days-before-pr-stale: -1 | |
days-before-pr-close: -1 | |
ascending: true | |
operations-per-run: 2000 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |