Skip to content

Commit

Permalink
chore: stale workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 committed Oct 31, 2024
1 parent 2045417 commit c26b4f2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .github/stale.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Close stale issues

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

permissions:
issues: write

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
Hi there! It looks like this issue hasn’t seen much activity for a while and might need a bit more information to move forward.
If we don’t hear back soon, we may close it to keep things organized.
Thanks again for your contributions – we really appreciate it!
stale-issue-label: 'stale'
only-labels: 'needs info'
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,discussion'
days-before-stale: 30
days-before-close: 14
debug-only: ${{ vars.WORKFLOW_STALE_DEBUG_ONLY == 'yes' }}

0 comments on commit c26b4f2

Please sign in to comment.