ci: add stale-bot

remotes/origin/HEAD
pseudometa 2023-12-29 21:32:49 +01:00 committed by GitHub
parent bebe3491b8
commit 8349eb8843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/stale-bot.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Close stale issues and PRs"
on:
workflow_dispatch:
schedule:
- cron: "18 04 * * *"
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
stale-issue-label: "Stale"
stale-issue-message: |
This issue has been automatically marked as stale.
**If this issue is still affecting you, please leave any comment**, for example "bump", and it will be kept open.
close-issue-message: |
This issue has been closed due to inactivity, and will not be monitored.