Skip to content

Commit

Permalink
New workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jahwag committed Aug 15, 2024
1 parent 98ea751 commit 7193080
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/close-stale-issues-and-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Automatically Manage Stale Issues and PRs'
permissions:
issues: write
pull-requests: write

on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been marked as stale due to 14 days of inactivity. Please remove the stale label or comment to keep it open, otherwise, it will be closed in 3 days.'
stale-pr-message: 'This pull request has been marked as stale due to 7 days of inactivity. Please remove the stale label or comment to keep it open, otherwise, it will be closed in 3 days.'
close-issue-message: 'This issue was closed due to 3 additional days of inactivity after being marked as stale.'
close-pr-message: 'This pull request was closed due to 3 additional days of inactivity after being marked as stale.'
days-before-issue-stale: 14
days-before-pr-stale: 7
days-before-issue-close: 3
days-before-pr-close: 3

0 comments on commit 7193080

Please sign in to comment.