File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed
Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 11# Auto-label new issues with your default labels!
2-
32# Set or add labels in the 'labels' list.
43
54name : Auto Label New Issues
65
76on :
8-
97 issues :
10-
118 types : [opened]
129
1310jobs :
14-
1511 label :
16-
17- runs-on : self-hosted
18-
12+ runs-on : [self-hosted, linux, x64, big]
1913 steps :
20-
2114 - name : Add labels
22-
2315 uses : actions/github-script@main
24-
2516 with :
26-
2717 github-token : ${{ secrets.GITHUB_TOKEN }}
28-
2918 script : |
30-
3119 // Add or tweak your labels here
32-
3320 const labels = ["triage", "copilot"]; // <-- TUNE ME!
34-
3521 await github.rest.issues.addLabels({
36-
3722 owner: context.repo.owner,
38-
3923 repo: context.repo.repo,
40-
4124 issue_number: context.issue.number,
42-
4325 labels
44-
45- });
46-
26+ });
You can’t perform that action at this time.
0 commit comments