git.iko.soy/typeable/elm-ui
on master help sign in
add GitHub action to set issues labels from hashtags in comments
commit3e384afb0122a226ae43269fe5015460becb2bc4 authorRémi Lefèvre <rlefevre@dmy.fr> dateTue 28 Apr 2020, 23:15 (7 years ago) parentdfef577
1 file changed+49
.github/workflows/label-issues.yml+49
.github/workflows/label-issues.ymlnew file+49
@@ -0,0 +1,49 @@
1+name: "Set Issue Label"
2+on:
3+ issue_comment:
4+ types: [created, edited]
5+
6+jobs:
7+ test:
8+ runs-on: ubuntu-latest
9+ steps:
10+ - uses: Amwam/issue-comment-action@v1.3.1
11+ with:
12+ keywords: '["#bug"]'
13+ labels: '["bug"]'
14+ github-token: "${{ secrets.GITHUB_TOKEN }}"
15+ - uses: Amwam/issue-comment-action@v1.3.1
16+ with:
17+ keywords: '["#feature-suggestion"]'
18+ labels: '["feature-suggestion"]'
19+ github-token: "${{ secrets.GITHUB_TOKEN }}"
20+ - uses: Amwam/issue-comment-action@v1.3.1
21+ with:
22+ keywords: '["#has-ellie"]'
23+ labels: '["has-ellie"]'
24+ github-token: "${{ secrets.GITHUB_TOKEN }}"
25+ - uses: Amwam/issue-comment-action@v1.3.1
26+ with:
27+ keywords: '["#has-test"]'
28+ labels: '["has-test"]'
29+ github-token: "${{ secrets.GITHUB_TOKEN }}"
30+ - uses: Amwam/issue-comment-action@v1.3.1
31+ with:
32+ keywords: '["#pain-point"]'
33+ labels: '["pain-point"]'
34+ github-token: "${{ secrets.GITHUB_TOKEN }}"
35+ - uses: Amwam/issue-comment-action@v1.3.1
36+ with:
37+ keywords: '["#test-incorrectly-passing"]'
38+ labels: '["test-incorrectly-passing"]'
39+ github-token: "${{ secrets.GITHUB_TOKEN }}"
40+ - uses: Amwam/issue-comment-action@v1.3.1
41+ with:
42+ keywords: '["#test-not-compiling"]'
43+ labels: '["test-not-compiling"]'
44+ github-token: "${{ secrets.GITHUB_TOKEN }}"
45+ - uses: Amwam/issue-comment-action@v1.3.1
46+ with:
47+ keywords: '["#unexpected"]'
48+ labels: '["unexpected"]'
49+ github-token: "${{ secrets.GITHUB_TOKEN }}"