From 2136fa581b0e4a608017278200f31575503ffc47 Mon Sep 17 00:00:00 2001
From: stefanruvceski <ruvceskistefan@github.com>
Date: Tue, 5 Mar 2024 11:47:12 +0100
Subject: [PATCH] Creating Stale Bot for Checkout repo

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

diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml
new file mode 100644
index 0000000..bec1321
--- /dev/null
+++ b/.github/workflows/stale-bot.yml
@@ -0,0 +1,16 @@
+name: Stale Bot
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: '0 0 * * 1' # every monday at midnight
+jobs:
+  stale:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/stale@v8
+        with:
+          stale-issue-message: "This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days."
+          close-issue-message: "This issue was closed because it has been stalled for 15 days with no activity."
+          exempt-issue-labels: "keep"
+          days-before-stale: 365
+          days-before-close: 15
\ No newline at end of file