Files
RSSHub/.github/workflows/stale.yml
T
dependabot[bot] ca080c00bb chore(deps): bump dessant/lock-threads from 6.0.1 to 6.0.2 (#22096)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/851cffe46851ddd2051ea7147ebdc995113241c3...89ae32b08ed1a541efecbab17912962a5e38981c)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-25 11:56:56 +00:00

50 lines
2.0 KiB
YAML

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '31 23 * * *'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-slim
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
# Don't stale issues
days-before-issue-stale: -1
days-before-pr-stale: 23
days-before-close: 7
stale-pr-message: >
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days.
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
exempt-issue-labels: 'wait for upstream'
exempt-pr-labels: 'wait for upstream'
any-of-issue-labels: 'more data required'
- name: Close Broken PRs
uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3.0
with:
days-before-issue-stale: -1
days-before-issue-close: -1
days-before-pr-stale: 1
days-before-pr-close: 0
only-pr-labels: 'auto: DO NOT merge'
stale-pr-label: 'Stale'
remove-pr-stale-when-updated: true
close-pr-message: >
This PR is being auto-closed because it has a broken Docker build without any fixes. Push a fix and reopen when ready.
lock:
runs-on: ubuntu-slim
steps:
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
with:
github-token: ${{ github.token }}
process-only: 'prs'
pr-inactive-days: '30'