diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 3c5c560..9221ba9 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -2,17 +2,21 @@ name: Issue Manager on: schedule: - - cron: "0 0 * * *" + - cron: "15 10 * * *" issue_comment: types: - created - - edited issues: types: - labeled + pull_request_target: + types: + - labeled + workflow_dispatch: permissions: issues: write + pull-requests: write jobs: issue-manager: @@ -23,7 +27,12 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} config: > { - "answered": { - "message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues." - } + "answered": { + "delay": 864000, + "message": "Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs." + }, + "waiting": { + "delay": 2628000, + "message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR." + } }