Skip to content

Commit 20f0e62

Browse files
committed
ci(github-actions): add workflow to label issues
1 parent d99c8f0 commit 20f0e62

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/label_issues.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
issues:
3+
types:
4+
- opened
5+
- reopened
6+
7+
jobs:
8+
apply-label:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/github-script@v6
12+
with:
13+
script: |
14+
github.rest.issues.addLabels({
15+
issue_number: context.issue.number,
16+
owner: context.repo.owner,
17+
repo: context.repo.repo,
18+
labels: ['issue-status: needs-triage']
19+
})

0 commit comments

Comments
 (0)