Issue labels #4669
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: | |
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 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 assignees" | |
uses: ./actions/python-issue-labels | |
with: | |
triagers: ${{ env.TRIAGERS }} | |
token: ${{secrets.GITHUB_TOKEN}} |