From 4c58ec1eb0ac535a3476880e961c3301c7a5644a Mon Sep 17 00:00:00 2001
From: Angelina Ceppaluni <aceppaluni@gmail.com>
Date: Tue, 21 May 2024 12:36:49 -0400
Subject: [PATCH] stale chack history-website issue1064

---
 .github/workflows/cron.stale.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 .github/workflows/cron.stale.yml

diff --git a/.github/workflows/cron.stale.yml b/.github/workflows/cron.stale.yml
new file mode 100644
index 0000000..a816111
--- /dev/null
+++ b/.github/workflows/cron.stale.yml
@@ -0,0 +1,27 @@
+name: Stale
+on:
+  schedule:
+    - cron: '37 * * * *'
+permissions:
+  issues: write
+  pull-requests: write
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v9
+        with:
+          days-before-pr-stale: 7
+          days-before-issue-stale: 7
+          close-pr-message: "Due to lack of activity this has been closed for now. Feel free to reopen once you are back."
+          include-only-assigned: true
+          days-before-issue-close: 21
+          stale-issue-message: "Due to inactivity you will be unassigned soon and the issue be freed."
+          exempt-issue-labels: "shoutout"
+  remove-assignee:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Unassign contributor after days of inactivity
+      uses: BoundfoxStudios/action-unassign-contributor-after-days-of-inactivity@v1.0.3
+      with:
+        last-activity: 14