cookiecutter-django/.github/workflows/issue-manager.yml

63 lines
1.8 KiB
YAML
Raw Normal View History

2020-09-02 10:57:55 +03:00
# 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:
2020-09-03 10:36:06 +03:00
# Every day at midnight
2020-09-02 10:57:55 +03:00
schedule:
2021-11-20 01:06:56 +03:00
- cron: "0 0 * * *"
2020-09-03 10:36:06 +03:00
# Manual trigger
workflow_dispatch:
2020-09-02 10:57:55 +03:00
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
2021-11-20 01:06:56 +03:00
- uses: tiangolo/issue-manager@0.4.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
2020-09-02 10:57:55 +03:00
2021-11-20 01:06:56 +03:00
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"
]
}
2020-09-02 10:57:55 +03:00
}