Skip to content

Commit

Permalink
updated .github/workflows/stale.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Oct 3, 2024
1 parent 4800dc2 commit 226ebc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Close Stale Issues

on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
- cron: '0 * * * *' # Run every hour

jobs:
close-issues:
Expand All @@ -11,10 +11,12 @@ jobs:
issues: write
steps:
- name: Close stale issues
uses: actions/stale@v5
uses: actions/stale@v9.0.0
with:
days-before-issue-stale: 365
days-before-issue-close: 0
stale-issue-label: "stale"
stale-issue-message: "This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 226ebc5

Please sign in to comment.