Actions: add stale to auto close old stalled PR
commit298f9aa63dbd6b077b3448b42668fc3800d80a7b
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
dateMon 23 Dec 2019, 17:55 (7 years ago)
parenta1cfebd
.github/workflows/stale.ymlnew file+15
@@ -0,0 +1,15 @@
1+name: "Close stale PR"
2+on:
3+ schedule:
4+ - cron: "0 0 * * *"
5+
6+jobs:
7+ stale:
8+ runs-on: ubuntu-latest
9+ steps:
10+ - uses: actions/stale@v1
11+ with:
12+ repo-token: ${{ secrets.FLATHUBBOT_TOKEN }}
13+ stale-pr-message: "This PR hasn't received any updates in a year and will be automatically closed in 14 days. Feel free to re-open it if you plan to continue working on that pull request or think it deserves attention from Flathub admins"
14+ days-before-stale: 365
15+ days-before-close: 14