mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-20 08:43:31 +08:00
28 lines
928 B
YAML
28 lines
928 B
YAML
name: 'Close stale issues and PRs'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '31 23 * * *'
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
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: 'dependencies,wait for upstream'
|
|
exempt-pr-labels: 'dependencies,wait for upstream'
|
|
any-of-issue-labels: 'more data required'
|