summaryrefslogtreecommitdiffstats
path: root/.github/workflows/stale.yml
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-09-10 13:06:39 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-13 09:27:58 +0200
commit42d24f30514fac181707af06ac0bec367a85fc43 (patch)
treeb49813928f9c7a162c62bb628b99f1eed1da47a9 /.github/workflows/stale.yml
parentceefe019a05b1131d3640a8ab03adfe2d12ddf1c (diff)
downloadnextcloud-server-42d24f30514fac181707af06ac0bec367a85fc43.tar.gz
nextcloud-server-42d24f30514fac181707af06ac0bec367a85fc43.zip
Add stale action
Diffstat (limited to '.github/workflows/stale.yml')
-rw-r--r--.github/workflows/stale.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 00000000000..4aadd5690a9
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,31 @@
+name: Close stale issues
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+
+ runs-on: ubuntu-latest
+
+ permissions:
+ issues: write
+
+ steps:
+ - uses: actions/stale@v5
+ with:
+ repo-token: ${{ secrets.COMMAND_BOT_PAT }}
+ stale-issue-message: >
+ This issue has been automatically marked as stale because it has not had
+ recent activity and seems to be missing some essential information.
+ It will be closed if no further activity occurs. Thank you
+ for your contributions.
+ stale-issue-label: 'stale'
+ only-labels: 'needs info'
+ exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
+ days-before-stale: 30
+ days-before-close: 14
+ debug-only: true
+