Add issue manager workflow for automated issue handling
This commit is contained in:
38
.github/workflows/issue-manager.yml
vendored
Normal file
38
.github/workflows/issue-manager.yml
vendored
Normal 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."
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user