Skip to content

Commit

Permalink
fix(actions): fix stale issue management. (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
TallFurryMan authored Mar 28, 2024
1 parent b53b71e commit 16142e0
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
name: 'Close Stale Issues'

on:
schedule:
• cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC

schedule:
- cron: '30 1 * * *' # This will run the workflow daily at 1:30 UTC

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
• uses: actions/stale@v4

with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.'
close-issue-message: 'This issue has been closed due to inactivity.'
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
stale-issue-message: 'This issue has been inactive for 60 days and is being marked as stale.'
close-issue-message: 'This issue has been closed due to inactivity.'

0 comments on commit 16142e0

Please sign in to comment.