Skip to content

Commit

Permalink
Switch stale-bot implementation (#146)
Browse files Browse the repository at this point in the history
Fixes #145
  • Loading branch information
a4z authored Jan 28, 2023
1 parent a0888c7 commit 624d5f4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Stale-Bot'
on:
schedule:
- cron: '30 1 * * *'

# see https://github.com/actions/stale

permissions:
contents: write
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
stale-issue-label: stale
stale-pr-label: stale
stale-issue-message: 'This issue is stale because it has 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
days-before-stale: 60
days-before-close: 7
close-issue-reason: stale
close-issue-label: stale
exempt-issue-labels: idea
exempt-pr-labels: idea

0 comments on commit 624d5f4

Please sign in to comment.