35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
name: Clean Up Stale PRs and Issues
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
stale:
|
|
name: Clean Up
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11
|
|
with:
|
|
days-before-stale: 60
|
|
days-before-close: 14
|
|
exempt-issue-labels: keep,security,pinned
|
|
exempt-pr-labels: keep,security,pinned
|
|
exempt-draft-pr: true
|
|
stale-issue-message: >
|
|
This issue has had no activity for 60 days and is now marked as stale.
|
|
It will be closed in 14 days if there is no further activity. Add the
|
|
`keep` label to keep it open.
|
|
close-issue-message: >
|
|
Closing this issue after 14 days of inactivity since it was marked stale.
|
|
Feel free to reopen if it is still relevant.
|
|
stale-pr-message: >
|
|
This pull request has had no activity for 60 days and is now marked as stale.
|
|
It will be closed in 14 days if there is no further activity. Add the
|
|
`keep` label to keep it open.
|
|
close-pr-message: >
|
|
Closing this pull request after 14 days of inactivity since it was marked stale.
|
|
Feel free to reopen if you plan to continue the work.
|