Skip to content

Commit

Permalink
chore: add stale workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail9k committed Nov 25, 2024
1 parent 4381fa5 commit fa45f8d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close manually labeled stale issues

on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: "😐 stale"
days-before-close: 30 # Closes 30 days after being labeled
close-issue-message: >
This issue has been automatically closed because it was marked as stale
and no activity was detected for 30 days. If this was closed in error,
please reopen or comment. Thank you!
only-issues: true # Only applies to issues, not pull requests
exempt-issue-labels: "" # No exemptions
operations-per-run: 50 # Adjust based on the size of your repository

0 comments on commit fa45f8d

Please sign in to comment.