mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
Actions: add stale to auto close old stalled PR
This commit is contained in:
committed by
Bartłomiej Piotrowski
parent
a1cfebd795
commit
298f9aa63d
@@ -0,0 +1,15 @@
|
||||
name: "Close stale PR"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.FLATHUBBOT_TOKEN }}
|
||||
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"
|
||||
days-before-stale: 365
|
||||
days-before-close: 14
|
||||
Reference in New Issue
Block a user