Skip to content

Commit

Permalink
Create GitHub workflow to close stale issues (#58)
Browse files Browse the repository at this point in the history
<!-- Korbit AI PR Description Start -->
## Description by Korbit AI

### What change is being made?

Create a GitHub workflow to automatically mark inactive issues as stale
and subsequently close them if there is no further activity.

### Why are these changes being made?

This workflow is being implemented to manage and streamline the issue
tracking process by reducing clutter from inactive issues, making it
easier for maintainers to focus on active tasks. The automation helps in
maintaining a clean and organized issue backlog, enhancing overall
project management efficiency while ensuring that only relevant and
active issues receive attention.

> Is this description stale? Ask me to generate a new description by
commenting `/korbit-generate-pr-description`
<!-- Korbit AI PR Description End -->
  • Loading branch information
cemtuver-applovin authored Nov 11, 2024
1 parent 9a68471 commit 325741b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/issue_stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Stale and close inactive issues
on:
schedule:
- cron: "0 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
operations-per-run: 250
exempt-issue-labels: "in progress"
days-before-pr-stale: -1
days-before-pr-close: -1
days-before-issue-stale: 30
days-before-issue-close: 5
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale."

0 comments on commit 325741b

Please sign in to comment.