Issue Manager #17078
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Manager | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
issue_comment: | |
types: | |
- created | |
- edited | |
issues: | |
types: | |
- labeled | |
jobs: | |
issue-manager: | |
if: github.repository_owner == 'explosion' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: tiangolo/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
config: > | |
{ | |
"resolved": { | |
"delay": "P7D", | |
"message": "This issue has been automatically closed because it was answered and there was no follow-up discussion.", | |
"remove_label_on_comment": true, | |
"remove_label_on_close": true | |
}, | |
"more-info-needed": { | |
"delay": "P7D", | |
"message": "This issue has been automatically closed because there has been no response to a request for more information from the original author. With only the information that is currently in the issue, there's not enough information to take action. If you're the original author, feel free to reopen the issue if you have or find the answers needed to investigate further.", | |
"remove_label_on_comment": true, | |
"remove_label_on_close": true | |
} | |
} |