diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml new file mode 100644 index 0000000..fac8511 --- /dev/null +++ b/.github/workflows/issue-manager.yml @@ -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." + } + }