Skip to content

Commit

Permalink
Create stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlerch authored Jun 4, 2024
1 parent d08f514 commit 6dfc25f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Clean Stale Issues

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

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/[email protected]
with:
exempt-all-assignees: true
# exclude issues/PRs with the specified labels
exempt-issue-labels: todo
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
operations-per-run: 1000

0 comments on commit 6dfc25f

Please sign in to comment.