Add stale action

This commit is contained in:
Erik Westrup
2023-10-03 19:17:23 +02:00
parent 2873f6a315
commit 4e6afce8d2

17
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: "Close stale issues and PRs"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-stale: 180
exempt-issue-labels: "NotStale"
exempt-pr-labels: "NotStale"
stale-issue-message: "Issue is stale; will soon close."
stale-pr-message: "PR is stale; will soon close."