mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Introduce stale bot for PR (#15211)
Stale bot will mark stale PR with a tag and close them after a specified interval of time. * Draft PRs are not subject to this marking. * PR with an assignee or milestone is not subject to this marking.
This commit is contained in:
parent
3e92e716b2
commit
4ed99ba851
1 changed files with 21 additions and 0 deletions
21
.github/workflows/stale_bot.yaml
vendored
Normal file
21
.github/workflows/stale_bot.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Stale bot
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Mark and close stale PRs
|
||||||
|
uses: actions/stale@v4
|
||||||
|
with:
|
||||||
|
stale-pr-message: "This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity."
|
||||||
|
close-pr-message: "This PR was closed because it has been stalled for some time with no activity."
|
||||||
|
days-before-stale: -1 # avoid marking issues
|
||||||
|
days-before-pr-stale: 60
|
||||||
|
days-before-close: -1 # avoid closing issues
|
||||||
|
days-before-pr-close: 7
|
||||||
|
exempt-all-pr-assignees: true # avoid stale for all PR with assignees
|
||||||
|
exempt-all-pr-milestones: true # avoid stale for all PR with milestones
|
Loading…
Add table
Add a link
Reference in a new issue