mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-26 15:03:34 +08:00
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
name: Sweep
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 1'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: sweep
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
sweep:
|
|
name: sweep
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Stale issues and PRs
|
|
uses: actions/stale@v9
|
|
with:
|
|
days-before-issue-stale: 60
|
|
days-before-issue-close: 7
|
|
stale-issue-label: stale
|
|
stale-issue-message: >
|
|
This issue is stale because it has been open for 60 days with no
|
|
activity. If this is still an issue, please add a comment with an
|
|
update. Otherwise this issue will be closed in 7 days.
|
|
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
|
|
days-before-pr-stale: 45
|
|
days-before-pr-close: 10
|
|
stale-pr-label: stale
|
|
stale-pr-message: >
|
|
This pull request is stale because it has been open for 45 days with
|
|
no activity. If you are still working on this, please add a comment
|
|
with an update. Otherwise this pull request will be closed in 10 days.
|
|
close-pr-message: This pull request was closed because it has been stalled for 10 days with no activity.
|
|
operations-per-run: 100
|
|
exempt-all-milestones: true
|
|
exempt-all-assignees: true
|