forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 883 Bytes
/
issue-labels.yml
File metadata and controls
34 lines (28 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Issue labels
on:
issues:
types: [opened, reopened]
env:
TRIAGERS: '["karthiknadig","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@v6
with:
repository: 'microsoft/vscode-github-triage-actions'
ref: stable
path: ./actions
persist-credentials: false
- 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}}