mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 14:42:29 -06:00
As mentioned briefly in https://github.com/qbittorrent/qBittorrent/pull/23631#issuecomment-3677881954 & https://github.com/qbittorrent/qBittorrent/pull/23631#issuecomment-3677940316 Make use of `ubuntu-slim` runner images in our `CI` where applicable/practical. From https://docs.github.com/en/actions/reference/runners/github-hosted-runners#single-cpu-runners : >This type of runner is optimized for automation tasks, issue operations and short-running jobs. They are not suitable for typical heavyweight CI/CD builds. * https://github.com/actions/runner-images?tab=readme-ov-file#available-images * https://github.com/actions/runner-images/blob/main/images/ubuntu-slim/ubuntu-slim-Readme.md * https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories PR #23661.
27 lines
917 B
YAML
27 lines
917 B
YAML
name: Stale bot
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-slim
|
|
permissions:
|
|
pull-requests: write
|
|
steps:
|
|
- name: Mark and close stale PRs
|
|
uses: actions/stale@v10
|
|
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
|
|
operations-per-run: 200
|