File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Label incoming issues
2+ on :
3+ issues :
4+ types :
5+ - reopened
6+ - opened
7+ - unlabeled
8+
9+ permissions :
10+ issues : write
11+
12+ jobs :
13+ label_incoming_issues :
14+ runs-on : ubuntu-latest
15+ if : github.event.action == 'opened' || github.event.action == 'reopened'
16+ steps :
17+ - run : gh issue edit "$NUMBER" --add-label "$LABELS"
18+ env :
19+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ GH_REPO : ${{ github.repository }}
21+ NUMBER : ${{ github.event.issue.number }}
22+ LABELS : triage
23+ label_more_info_issues :
24+ if :
25+ github.event.action == 'unlabeled' && github.event.label.name ==
26+ ' more-info-needed'
27+ runs-on : ubuntu-latest
28+ steps :
29+ - run : gh issue edit "$NUMBER" --add-label "$LABELS"
30+ env :
31+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ GH_REPO : ${{ github.repository }}
33+ NUMBER : ${{ github.event.issue.number }}
34+ LABELS : triage
You can’t perform that action at this time.
0 commit comments