Issue labels #4172
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue labels | |
on: | |
issues: | |
types: [opened, reopened] | |
env: | |
# To update the list of labels, see `getLabels.js`. | |
REPO_LABELS: '["area-api","area-data science","area-debugging","area-diagnostics","area-editor-*","area-environments","area-formatting","area-intellisense","area-internal","area-linting","area-repl","area-terminal","area-testing","author-verification-requested","bug","community ask","debt","dependencies","documentation","experimenting","feature-request","good first issue","help wanted","important","info-needed","invalid-testplan-item","investigating","iteration-candidate","iteration-plan","iteration-plan-draft","javascript","linux","macos","meta","needs community feedback","needs PR","needs proposal","needs spike","no-changelog","on-testplan","partner ask","regression","release-plan","reports-wanted","skip package*.json","skip tests","tensorboard","testplan-item","triage-needed","verification-found","verification-needed","verification-steps-needed","verified","windows"]' | |
TRIAGERS: '["karrtikr","karthiknadig","paulacamargo25","eleanorjboyd","anthonykim1"]' | |
permissions: | |
issues: write | |
jobs: | |
# From https://github.com/marketplace/actions/github-script#apply-a-label-to-an-issue. | |
add-classify-label: | |
name: "Add 'triage-needed' and remove unrecognizable labels & assignees" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v4 | |
with: | |
repository: 'microsoft/vscode-github-triage-actions' | |
ref: stable | |
path: ./actions | |
- name: Install Actions | |
run: npm install --production --prefix ./actions | |
- name: "Add 'triage-needed' and remove unrecognizable labels & assignees" | |
uses: ./actions/python-issue-labels | |
with: | |
triagers: ${{ env.TRIAGERS }} | |
token: ${{secrets.GITHUB_TOKEN}} | |
repo_labels: ${{ env.REPO_LABELS }} |