Skip to content

Commit

Permalink
Add stale issues action (#2900)
Browse files Browse the repository at this point in the history
Co-authored-by: IL-Automation <eco-system@jfrog.com>
  • Loading branch information
EyalDelarea and jfrog-ecosystem authored Feb 28, 2025
1 parent ca5e1cd commit 644d573
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/staleIssues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close inactive issues
on:
workflow_dispatch:

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 90
days-before-issue-close: 7
stale-issue-label: "stale"
stale-issue-message: "This issue has been marked as stale due to 90 days of inactivity. If you wish to keep it open, please remove the stale label or leave a comment; otherwise, it will be closed in 7 days."
close-issue-message: "This issue was closed due to 7 days of inactivity after being marked as stale. Feel free to reopen it if it remains relevant."
any-of-issue-labels: 'bug'
debug-only: 'true'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 644d573

Please sign in to comment.