Add issue manager workflow for automated issue handling

This commit is contained in:
Donkie
2025-06-16 19:22:54 +02:00
parent a6607fb162
commit 8af6013331

38
.github/workflows/issue-manager.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Issue Manager
on:
schedule:
- cron: "0 0 * * *"
issue_comment:
types:
- created
issues:
types:
- labeled
pull_request_target:
types:
- labeled
workflow_dispatch:
permissions:
issues: write
pull-requests: write
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.5.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"answered": {
"delay": 604800,
"message": "It seems the issue was answered, closing this now."
},
"waiting": {
"delay": 60400,
"message": "Closing after 7 days of waiting for the additional info requested."
}
}