Skip to content

Commit c4e4705

Browse files
authored
chore: add gh workflow to add zenhub label (#252)
1 parent efec364 commit c4e4705

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Ensure we add the correct ZenHub label for all new issues
2+
# Avoids problem where checklist issues are not added to the correct ZenHub pipeline
3+
4+
name: Add ZenHub label to issues
5+
on:
6+
issues:
7+
types:
8+
- reopened
9+
- opened
10+
jobs:
11+
label_issues:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
steps:
16+
- uses: actions/github-script@v6
17+
with:
18+
script: |
19+
github.rest.issues.addLabels({
20+
issue_number: context.issue.number,
21+
owner: context.repo.owner,
22+
repo: context.repo.repo,
23+
labels: ["Ecosystem: Frameworks"]
24+
})

0 commit comments

Comments
 (0)