Skip to content

Commit

Permalink
Merge pull request #450 from jpalardy/fix-stale
Browse files Browse the repository at this point in the history
Replace stale bot, use stale action
  • Loading branch information
jpalardy authored Dec 17, 2024
2 parents c8cfb9b + 21788ff commit 3b39203
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/stale.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '5 10 * * *'

jobs:
stale:

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

steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'

0 comments on commit 3b39203

Please sign in to comment.