Files
bookorbit/.github/workflows/stale.yml
T

41 lines
1.3 KiB
YAML

name: Stale Issues and PRs
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
stale:
name: Mark and Close Stale
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/stale@5bef64f19d7facfed25c7e059aefc10cb5ab2bf2 # v9
with:
days-before-issue-stale: 60
days-before-issue-close: 14
days-before-pr-stale: 30
days-before-pr-close: 14
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: "pinned,security"
exempt-pr-labels: pinned
stale-issue-message: >
This issue has been inactive for 60 days. It will be closed in 14 days
unless there is new activity. If this is still relevant, please leave a
comment or update the issue.
stale-pr-message: >
This PR has been inactive for 30 days. It will be closed in 14 days
unless there is new activity. If you are still working on this, please
leave a comment or push an update.
close-issue-message: >
Closing due to inactivity. Feel free to reopen if this is still relevant.
close-pr-message: >
Closing due to inactivity. Feel free to reopen if you want to continue
this work.