2022-09-22 23:41:48 +00:00
|
|
|
name: "Close stale Pull Requests"
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "30 1 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
2023-10-30 23:25:08 +00:00
|
|
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
2022-09-22 23:41:48 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
2023-03-23 20:29:52 +00:00
|
|
|
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
|
2022-09-22 23:41:48 +00:00
|
|
|
with:
|
|
|
|
days-before-issue-stale: -1
|
|
|
|
days-before-issue-close: -1
|
2023-11-05 00:15:23 +00:00
|
|
|
stale-pr-label: stale
|
2022-09-22 23:41:48 +00:00
|
|
|
stale-pr-message: "This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity."
|
|
|
|
close-pr-message: "This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired."
|
|
|
|
days-before-pr-stale: 21
|
|
|
|
days-before-pr-close: 7
|
2022-12-08 01:19:55 +00:00
|
|
|
exempt-draft-pr: true
|
2023-03-29 04:20:53 +00:00
|
|
|
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|