2021-12-06 14:58:02 +03:00
|
|
|
# Automatically close issues or pull requests that have a label, after a custom delay, if no one replies.
|
2020-09-02 10:57:55 +03:00
|
|
|
# https://github.com/tiangolo/issue-manager
|
|
|
|
|
|
|
|
name: Issue Manager
|
|
|
|
|
|
|
|
on:
|
2021-12-06 14:58:02 +03:00
|
|
|
# Every day
|
2020-09-02 10:57:55 +03:00
|
|
|
schedule:
|
2021-12-06 14:58:02 +03:00
|
|
|
- cron: "12 0 * * *"
|
2020-09-03 10:36:06 +03:00
|
|
|
# Manual trigger
|
|
|
|
workflow_dispatch:
|
2020-09-02 10:57:55 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
issue-manager:
|
2021-12-06 15:01:31 +03:00
|
|
|
# Disables this workflow from running in a repository that is not part of the indicated organization/user
|
|
|
|
if: github.repository_owner == 'cookiecutter'
|
|
|
|
|
2020-09-02 10:57:55 +03:00
|
|
|
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 }}
|
|
|
|
config: >
|
|
|
|
{
|
|
|
|
"answered": {
|
2021-12-06 14:58:02 +03:00
|
|
|
"message": "Assuming the question was answered, this will be automatically closed now."
|
|
|
|
},
|
|
|
|
"solved": {
|
|
|
|
"message": "Assuming the original issue was solved, it will be automatically closed now."
|
2021-11-20 01:06:56 +03:00
|
|
|
},
|
|
|
|
"waiting": {
|
2021-12-06 14:58:02 +03:00
|
|
|
"message": "Automatically closing after waiting for additional info. To re-open, please provide the additional information requested."
|
2021-11-20 01:06:56 +03:00
|
|
|
}
|
2020-09-02 10:57:55 +03:00
|
|
|
}
|