From eeed2f25e5e990daab318660645efcf0a5b4eb59 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Wed, 22 Nov 2023 12:03:19 -0700 Subject: [PATCH 1/2] Update issue manager with "feedback requested" behavior We weren't using an "answered" label, so I just replaced it. Triggers updated per documentation! --- .github/workflows/issue-manager.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 46c544b2..146a70fb 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -2,20 +2,28 @@ name: "Issue Manager" on: schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" + issue_comment: + types: + - "created" + issues: + types: + - "labeled" + pull_request_target: + types: + - "labeled" jobs: issue-manager: - runs-on: ubuntu-latest + runs-on: "ubuntu-latest" steps: - - uses: tiangolo/issue-manager@master + - uses: "tiangolo/issue-manager@master" with: - token: ${{ secrets.GITHUB_TOKEN }} + token: "${{ secrets.GITHUB_TOKEN }}" config: > { - "answered": { - "users": ["betolink"], + "feedback requested": { "delay": 864000, - "message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues." + "message": "Closing after 10 days of waiting for feedback. If you feel this was in error, please re-open, `@` a maintainer, or create new issues." } } From 5b8a8183dacd06e303a4358332215d0508f6bb92 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Wed, 22 Nov 2023 20:44:12 -0700 Subject: [PATCH 2/2] Pin issue-manager action dependency Co-authored-by: Joseph H Kennedy --- .github/workflows/issue-manager.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 146a70fb..8a3e027a 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -17,7 +17,7 @@ jobs: issue-manager: runs-on: "ubuntu-latest" steps: - - uses: "tiangolo/issue-manager@master" + - uses: "tiangolo/issue-manager@0.4.0" with: token: "${{ secrets.GITHUB_TOKEN }}" config: >