Skip to content

Commit 4f9cd42

Browse files
committed
Sync auto-label.yml from .github repo
1 parent a355b0f commit 4f9cd42

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

.github/workflows/auto-label.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,26 @@
11
# Auto-label new issues with your default labels!
2-
32
# Set or add labels in the 'labels' list.
43

54
name: Auto Label New Issues
65

76
on:
8-
97
issues:
10-
118
types: [opened]
129

1310
jobs:
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+
});

0 commit comments

Comments
 (0)