mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-20 21:41:03 +03:00
Add issue manager workflow
This commit is contained in:
parent
144fec16f9
commit
a115c13ced
59
.github/workflows/issue-manager.yml
vendored
Normal file
59
.github/workflows/issue-manager.yml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# Automatically close issues that have a keyword mark (an HTML comment)
|
||||||
|
# in the last comment in the issue, by a group of predefined users, after a custom delay.
|
||||||
|
# https://github.com/tiangolo/issue-manager
|
||||||
|
|
||||||
|
# Default config:
|
||||||
|
# <!-- issue-manager: answered -->
|
||||||
|
# Wait 10 days and comment: "Assuming the original issue was solved, it will be automatically closed now"
|
||||||
|
|
||||||
|
# Extra config:
|
||||||
|
# '<!-- issue-manager: waiting -->'
|
||||||
|
# Wait 10 days and comment: "Automatically closing. To re-open, please provide the additional information requested"
|
||||||
|
|
||||||
|
name: Issue Manager
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
issue-manager:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: tiangolo/issue-manager@0.3.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
config: >
|
||||||
|
{
|
||||||
|
"answered": {
|
||||||
|
"delay": 864000,
|
||||||
|
"message": "Assuming the original issue was solved, it will be automatically closed now.",
|
||||||
|
"users": [
|
||||||
|
"pydanny",
|
||||||
|
"audreyr",
|
||||||
|
"luzfcb",
|
||||||
|
"theskumar",
|
||||||
|
"jayfk",
|
||||||
|
"burhan",
|
||||||
|
"webyneter",
|
||||||
|
"browniebroke",
|
||||||
|
"sfdye",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"waiting": {
|
||||||
|
"delay": 864000,
|
||||||
|
"message": "Automatically closing. To re-open, please provide the additional information requested.",
|
||||||
|
"users": [
|
||||||
|
"pydanny",
|
||||||
|
"audreyr",
|
||||||
|
"luzfcb",
|
||||||
|
"theskumar",
|
||||||
|
"jayfk",
|
||||||
|
"burhan",
|
||||||
|
"webyneter",
|
||||||
|
"browniebroke",
|
||||||
|
"sfdye",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user