File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
-
2
-
3
1
module . exports = async function ( { github, context} ) {
4
2
const issue = await github . rest . issues . get ( {
5
3
issue_number : context . issue . number ,
@@ -16,7 +14,7 @@ module.exports = async function ({github, context}) {
16
14
", thanks for taking the time to create this issue. \
17
15
If possible (and applicable), please upload to the issue website ("
18
16
+ issue . data . html_url +
19
- ") a screenshot showcasing the problem, and/or \
17
+ ", attaching to an email does not work ) a screenshot showcasing the problem, and/or \
20
18
a compressed (zipped) .jasp file or the data file \
21
19
that causes the issue. If you would prefer not to make your \
22
20
data publicly available, you can send your file(s) directly to us,\
@@ -28,5 +26,12 @@ module.exports = async function ({github, context}) {
28
26
repo : context . repo . repo ,
29
27
body : comment
30
28
} ) ;
29
+
30
+ github . rest . issues . addLabels ( {
31
+ issue_number : context . issue . number ,
32
+ owner : context . repo . owner ,
33
+ repo : context . repo . repo ,
34
+ labels : [ "Waiting for requester" ]
35
+ } ) ;
31
36
} ;
32
37
}
You can’t perform that action at this time.
0 commit comments