Skip to content

Commit

Permalink
Replace Stale bot app with Action
Browse files Browse the repository at this point in the history
Closes #1117.
  • Loading branch information
zauguin committed Aug 1, 2023
1 parent 14a638d commit f7a3398
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Mark stale issues and PRs'
on:
schedule:
- cron: '7 8 * * *'

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
# Number of days of inactivity before an issue becomes stale
days-before-stale: 60
# Number of days of inactivity before a stale issue is closed
days-before-close: -1
# Issues with these labels will never be considered stale
exempt-issue-labels: 'pinned,long-term,fixed in dev'
exempt-pr-labels: 'pinned,long-term,fixed in dev'
# Label to use when marking an issue as stale
stale-issue-label: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity.
stale-pr-message: >
This PR has been automatically marked as stale because it has not had
recent activity.

0 comments on commit f7a3398

Please sign in to comment.