diff --git a/.github/classifier.json b/.github/classifier.json deleted file mode 100644 index 9607d5f137..0000000000 --- a/.github/classifier.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/microsoft/vscode-github-triage-actions/master/classifier/apply/apply-labels/classifier-config.schema.json", - "assignees": { - "JacksonKearl": { - "assign": true - } - }, - "labels": { - "search-editor": { - "applyLabel": true, - "assign": [ - "JacksonKearl" - ] - } - } -} diff --git a/.github/classifier.yml b/.github/classifier.yml new file mode 100644 index 0000000000..754726f1a1 --- /dev/null +++ b/.github/classifier.yml @@ -0,0 +1,36 @@ +{ + perform: true, + alwaysRequireAssignee: false, + labelsRequiringAssignee: [], + defaultLabel: 'Triage: Needed', + defaultAssignee: '', + autoAssignees: { + Area - Acquisition: [], + Area - Azure: [], + Area - Backup\Restore: [], + Area - Charting\Insights: [], + Area - Connection: [ charles-gagnon ], + Area - DacFX: [], + Area - Dashboard: [], + Area - Data Explorer: [], + Area - Edit Data: [], + Area - Extensibility: [], + Area - External Table: [], + Area - Fundamentals: [], + Area - Language Service: [ charles-gagnon ], + Area - Localization: [], + Area - Notebooks: [ chlafreniere ], + Area - Performance: [], + Area - Query Editor: [ anthonydresser ], + Area - Query Plan: [], + Area - Reliability: [], + Area - Resource Deployment: [], + Area - Schema Compare: [], + Area - Shell: [], + Area - SQL Agent: [], + Area - SQL Import: [], + Area - SQL Profiler: [], + Area - SQL 2019: [], + Area - SSMS Integration: [] + } +} diff --git a/.github/workflows/classifier-apply.yml b/.github/workflows/classifier-apply.yml deleted file mode 100644 index 80b61b5d31..0000000000 --- a/.github/workflows/classifier-apply.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: "Classifier: Apply" -on: - schedule: - - cron: 0,30 * * * * - -jobs: - main: - runs-on: ubuntu-latest - steps: - - name: Checkout Actions - uses: actions/checkout@v2 - with: - repository: 'microsoft/vscode-github-triage-actions' - ref: v15 - path: ./actions - - name: Install Actions - run: npm install --production --prefix ./actions - - name: Install Additional Dependencies - # Pulls in a bunch of other packages that arent needed for the rest of the actions - run: npm install @azure/storage-blob@12 - - name: "Run Classifier: Scraper" - uses: ./actions/classifier/apply/fetch-issues - with: - # slightly overlapping to protect against issues slipping through the cracks if a run is delayed - from: 45 - until: 5 - blobContainerName: classifier-models - blobStorageKey: ${{secrets.AZURE_BLOB_STORAGE_CONNECTION_STRING}} - - name: Set up Python 3.7 - uses: actions/setup-python@v1 - with: - python-version: 3.7 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install --upgrade numpy scipy scikit-learn joblib nltk - - name: "Run Classifier: Generator" - run: python ./actions/classifier/apply/generate-labels/main.py - - name: "Run Classifier: Labeler" - uses: ./actions/classifier/apply/apply-labels - with: - config-path: classifier - token: ${{secrets.VSCODE_ISSUE_TRIAGE_BOT_PAT}}