@@ -38,7 +38,7 @@ export default class GitHub {
38
38
const missingLabels = this . MANAGED_LABELS . filter ( label => ! existingLabelsNames . includes ( label . name ) ) ;
39
39
40
40
if ( missingLabels . length ) {
41
- logger . info ( `🤖 Following required labels are not present on the repository: ${ missingLabels . map ( label => `"${ label . name } "` ) . join ( ', ' ) } . Creating them…` ) ;
41
+ logger . info ( `Following required labels are not present on the repository: ${ missingLabels . map ( label => `"${ label . name } "` ) . join ( ', ' ) } . Creating them…` ) ;
42
42
43
43
for ( const label of missingLabels ) {
44
44
await this . createLabel ( { /* eslint-disable-line no-await-in-loop */
@@ -49,7 +49,7 @@ export default class GitHub {
49
49
}
50
50
}
51
51
} catch ( error ) {
52
- logger . error ( `🤖 Failed to handle repository labels: ${ error . message } ` ) ;
52
+ logger . error ( `Failed to handle repository labels: ${ error . message } ` ) ;
53
53
}
54
54
}
55
55
@@ -136,9 +136,9 @@ export default class GitHub {
136
136
await this . addCommentToIssue ( { issue : openedIssue , comment } ) ;
137
137
await this . closeIssue ( openedIssue ) ;
138
138
139
- return logger . info ( `🤖 Closed issue #${ openedIssue . number } : ${ openedIssue . html_url } ` ) ;
139
+ return logger . info ( `Closed issue #${ openedIssue . number } : ${ openedIssue . html_url } ` ) ;
140
140
} catch ( error ) {
141
- logger . error ( `🤖 Failed to handle issue "${ title } ": ${ error . message } ` ) ;
141
+ logger . error ( `Failed to update issue "${ title } ": ${ error . message } ` ) ;
142
142
}
143
143
}
144
144
@@ -149,12 +149,12 @@ export default class GitHub {
149
149
if ( ! issue ) {
150
150
const createdIssue = await this . createIssue ( { title, description, labels : [ label ] } ) ;
151
151
152
- return logger . info ( `🤖 Created GitHub issue #${ createdIssue . number } "${ title } ": ${ createdIssue . html_url } ` ) ;
152
+ return logger . info ( `Created issue #${ createdIssue . number } "${ title } ": ${ createdIssue . html_url } ` ) ;
153
153
}
154
154
155
155
if ( issue . state == GitHub . ISSUE_STATE_CLOSED ) {
156
156
await this . openIssue ( issue ) ;
157
- logger . info ( `🤖 Reopen issue #${ issue . number } : ${ issue . html_url } ` ) ;
157
+ logger . info ( `Reopened issue #${ issue . number } : ${ issue . html_url } ` ) ;
158
158
}
159
159
160
160
const managedLabelsNames = this . MANAGED_LABELS . map ( label => label . name ) ;
@@ -168,9 +168,9 @@ export default class GitHub {
168
168
169
169
await this . setIssueLabels ( { issue, labels : [ label , ...labelsNotManagedToKeep ] } ) ;
170
170
await this . addCommentToIssue ( { issue, comment : description } ) ;
171
- logger . info ( `🤖 Updated issue #${ issue . number } : ${ issue . html_url } ` ) ;
171
+ logger . info ( `Updated issue #${ issue . number } : ${ issue . html_url } ` ) ;
172
172
} catch ( error ) {
173
- logger . error ( `🤖 Failed to handle issue "${ title } ": ${ error . message } ` ) ;
173
+ logger . error ( `Failed to update issue "${ title } ": ${ error . message } ` ) ;
174
174
}
175
175
}
176
176
}
0 commit comments