Skip to content

Commit

Permalink
Replace deprecated stale bot with stale action (#4371)
Browse files Browse the repository at this point in the history
The stale bot is deprecated and no longer maintained.
Instead the stale GHA should be used.

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Sep 7, 2024
1 parent b3f7103 commit e3d7885
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/stale.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Stale issues check'

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

jobs:
stale:
runs-on: ubuntu-latest
name: Stale issues check
permissions:
issues: write
steps:
- name: Stale issues check
uses: actions/stale@v9
with:
days-before-issue-stale: 60
days-before-issue-close: 180
days-before-pr-stale: -1
days-before-pr-close: -1
only-labels: 'awaiting feedback'
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,PR pending'
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.

0 comments on commit e3d7885

Please sign in to comment.