From 59fff0977b0d3220615209deef1185f9b32c812a Mon Sep 17 00:00:00 2001 From: Bhavya U Date: Wed, 31 Jul 2024 15:49:10 -0700 Subject: [PATCH] Remove on-label and update commands --- .github/commands.json | 18 +++++++++++++++--- .github/workflows/on-label.yml | 24 ------------------------ 2 files changed, 15 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/on-label.yml diff --git a/.github/commands.json b/.github/commands.json index b27ea864..89514287 100644 --- a/.github/commands.json +++ b/.github/commands.json @@ -11,6 +11,18 @@ "action": "updateLabels", "addLabel": "*question" }, + { + "type": "comment", + "name": "needsPerfInfo", + "allowUsers": [ + "cleidigh", + "usernamehw", + "gjsjohnmurray", + "IllusionMH" + ], + "addLabel": "info-needed", + "comment": "Thanks for creating this issue regarding performance! Please follow this guide to help us diagnose performance issues: https://github.com/microsoft/vscode/wiki/Performance-Issues \n\nHappy Coding!" + }, { "type": "label", "name": "*question", @@ -162,11 +174,11 @@ }, { "type": "label", - "name": "~needs version info", + "name": "~version-info-needed", "action": "updateLabels", "addLabel": "info-needed", - "removeLabel": "~needs version info", - "comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!" + "removeLabel": "~version-info-needed", + "comment": "Thanks for creating this issue! We figured it's missing some basic information, such as a version number, or in some other way doesn't follow our [issue reporting guidelines](https://aka.ms/vscodeissuereporting). Please take the time to review these and update the issue.\n\nHappy Coding!" }, { "type": "comment", diff --git a/.github/workflows/on-label.yml b/.github/workflows/on-label.yml deleted file mode 100644 index 926ac82c..00000000 --- a/.github/workflows/on-label.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: On Label -on: - issues: - types: [labeled] - -jobs: - main: - runs-on: ubuntu-latest - steps: - - name: Checkout Actions - uses: actions/checkout@v2 - with: - repository: 'microsoft/vscode-github-triage-actions' - ref: stable - path: ./actions - - name: Install Actions - run: npm install --production --prefix ./actions - # source of truth in ./commands.yml - - name: Run Commands - uses: ./actions/commands - with: - appInsightsKey: ${{secrets.TRIAGE_ACTIONS_APP_INSIGHTS}} - token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}} - config-path: commands