Add stale action
This commit is contained in:
17
.github/workflows/stale.yml
vendored
Normal file
17
.github/workflows/stale.yml
vendored
Normal 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."
|
||||
Reference in New Issue
Block a user