Skip to content

Commit

Permalink
Merge pull request #1694 from hairyhenderson/add-stale-action
Browse files Browse the repository at this point in the history
Add stale action
  • Loading branch information
hairyhenderson authored Apr 1, 2023
2 parents f3ba5d5 + 7dd2df4 commit cd3be0b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Stale issue handler'
on:
workflow_dispatch:
schedule:
- cron: '42 04 * * 1'

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
# See https://github.com/actions/stale#all-options
with:
days-before-stale: 60
days-before-close: 14
stale-issue-message: |
This issue is stale because it has been open for 60 days with no activity. Remove `stale` label or comment or this will be automatically closed in a few days.
stale-pr-message: |
This pull request is stale because it has been open for 60 days with no activity. Remove `stale` label or comment or this will be automatically closed in a few days.

0 comments on commit cd3be0b

Please sign in to comment.