Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: add stale issue action

Steven22427101f852
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..ecdb2d706
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,19 @@
+name: Close Stale Issues
+
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+
+ steps:
+ - uses: actions/[email protected]
+ with:
+ stale-issue-message: "This issue is stale because it has been open 14 days with no activity."
+ close-issue-message: "This issue was closed because it has been stalled for 28 days with no activity."
+ days-before-issue-stale: 14
+ days-before-issue-close: 14