From bcc7fd43aae8a739d0b4df437623f5d2eda9de76 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 28 Jan 2022 20:29:05 +0100 Subject: [PATCH] Add 'Needs More Info Closer' --- .github/workflows/locker.yml | 3 +- .github/workflows/needs-more-info-closer.yml | 30 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/needs-more-info-closer.yml diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml index 4f1a2d90..cf8986b5 100644 --- a/.github/workflows/locker.yml +++ b/.github/workflows/locker.yml @@ -4,8 +4,7 @@ on: - cron: 21 23 * * * # 5:20pm Redmond repository_dispatch: types: [trigger-locker] - # enable users to manually trigger with workflow_dispatch - workflow_dispatch: {} + workflow_dispatch: jobs: main: diff --git a/.github/workflows/needs-more-info-closer.yml b/.github/workflows/needs-more-info-closer.yml new file mode 100644 index 00000000..88de1919 --- /dev/null +++ b/.github/workflows/needs-more-info-closer.yml @@ -0,0 +1,30 @@ +name: Needs More Info Closer +on: + schedule: + - cron: 20 12 * * * # 5:20am Redmond + repository_dispatch: + types: [trigger-needs-more-info] + workflow_dispatch: + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout Actions + uses: actions/checkout@v2 + with: + repository: 'microsoft/vscode-github-triage-actions' + path: ./actions + ref: stable + - name: Install Actions + run: npm install --production --prefix ./actions + - name: Run Needs More Info Closer + uses: ./actions/needs-more-info-closer + with: + appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} + label: needs more info + closeDays: 7 + additionalTeam: 'spahnke|rcjsuen' + closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" + pingDays: 120 + pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."