Skip to content

Commit da2c058

Browse files
authored
Merge pull request #124 from skitt/auto-label-issues
Add a workflow to label issues
2 parents c8d01f8 + 25c09a2 commit da2c058

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/auto-label.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Label issues
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- reopened
8+
jobs:
9+
label_issues:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
issues: write
13+
steps:
14+
- run: gh issue edit "$NUMBER" -add-label "$LABELS"
15+
env:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
GH_REPO: ${{ github.repository }}
18+
NUMBER: ${{ github.event.issue.number }}
19+
LABELS: sig/multicluster

0 commit comments

Comments
 (0)