summaryrefslogtreecommitdiffstats
path: root/.github/workflows/stale.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/stale.yaml')
-rw-r--r--.github/workflows/stale.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml
new file mode 100644
index 0000000..38d76ab
--- /dev/null
+++ b/.github/workflows/stale.yaml
@@ -0,0 +1,30 @@
+name: 'Close stale'
+
+on:
+ schedule:
+ - cron: '0 1 * * *'
+
+jobs:
+ stale:
+ runs-on: 'ubuntu-latest'
+ steps:
+ - uses: 'actions/stale@v7'
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
+ stale-issue-message: |-
+ This issue is stale because it has been open for 90 days with no
+ activity. It will automatically close after 30 more days of
+ inactivity. Keep fresh with the 'lifecycle/frozen' label.
+ stale-issue-label: 'lifecycle/stale'
+ exempt-issue-labels: 'lifecycle/frozen'
+
+ stale-pr-message: |-
+ This Pull Request is stale because it has been open for 90 days with
+ no activity. It will automatically close after 30 more days of
+ inactivity. Keep fresh with the 'lifecycle/frozen' label.
+ stale-pr-label: 'lifecycle/stale'
+ exempt-pr-labels: 'lifecycle/frozen'
+
+ days-before-stale: 90
+ days-before-close: 30