quivr/.github/workflows/stale.yml

25 lines
823 B
YAML
Raw Normal View History

name: "Close stale issues and PRs"
2023-08-07 01:18:32 +03:00
on:
schedule:
- cron: "0 */4 * * *"
2023-08-07 01:18:32 +03:00
permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write
2023-08-07 01:18:32 +03:00
jobs:
stale:
runs-on: ubuntu-latest
steps:
2023-08-20 12:56:52 +03:00
- uses: actions/stale@main
2023-08-07 01:18:32 +03:00
with:
2023-08-07 12:09:47 +03:00
exempt-assignees: true
2023-08-07 01:18:32 +03:00
exempt-draft-pr: true
days-before-stale: 90
2023-08-07 01:18:32 +03:00
days-before-close: 5
operations-per-run: 400
2023-08-07 12:09:47 +03:00
exempt-milestones: true
2023-08-07 01:18:32 +03:00
stale-issue-message: "Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion."
stale-pr-message: "Thanks for your contributions, we'll be closing this PR as it has gone stale. Feel free to reopen if you'd like to continue the discussion."