2023-03-30 12:40:29 +00:00
name : Stale Check
2022-01-23 16:02:41 +00:00
on :
schedule :
2023-10-05 12:02:10 +00:00
- cron : '30 */12 * * *'
2022-01-23 16:02:41 +00:00
workflow_dispatch :
2022-12-31 14:42:24 +00:00
permissions :
issues : write
2023-03-30 12:40:29 +00:00
pull-requests : write
2023-10-05 12:02:10 +00:00
actions : write
2023-03-30 12:40:29 +00:00
2022-01-23 16:02:41 +00:00
jobs :
2023-03-30 12:40:29 +00:00
issues :
2023-10-05 12:02:10 +00:00
name : Check for stale issues
2022-01-23 16:02:41 +00:00
runs-on : ubuntu-latest
2022-01-25 17:32:46 +00:00
if : ${{ contains(github.repository, 'jellyfin/') }}
2022-01-23 16:02:41 +00:00
steps :
2023-10-08 12:05:55 +00:00
- uses : actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
2022-01-23 16:02:41 +00:00
with :
2022-01-23 17:19:39 +00:00
repo-token : ${{ secrets.JF_BOT_TOKEN }}
2022-01-23 16:02:41 +00:00
days-before-stale : 120
days-before-pr-stale : -1
days-before-close : 21
days-before-pr-close : -1
2023-01-20 11:07:29 +00:00
operations-per-run : 75
2022-01-23 16:02:41 +00:00
exempt-issue-labels : regression,security,roadmap,future,feature,enhancement,confirmed
stale-issue-label : stale
stale-issue-message : |-
2023-10-05 12:02:10 +00:00
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
2022-12-31 14:42:24 +00:00
2023-10-05 12:02:10 +00:00
If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
close-issue-message : |-
This issue was closed due to inactivity.
2023-03-30 12:40:29 +00:00
prs-conflicts :
name : Check PRs with merge conflicts
runs-on : ubuntu-latest
if : ${{ contains(github.repository, 'jellyfin/') }}
steps :
2023-04-16 19:02:02 +00:00
- uses : actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
2023-03-30 12:40:29 +00:00
with :
repo-token : ${{ secrets.JF_BOT_TOKEN }}
operations-per-run : 75
# The merge conflict action will remove the label when updated
remove-stale-when-updated : false
days-before-stale : -1
days-before-close : 90
days-before-issue-close : -1
stale-pr-label : merge conflict
close-pr-message : |-
This PR has been closed due to having unresolved merge conflicts.