There was an error while loading. Please reload this page.
1 parent 126dd9f commit 0c52dddCopy full SHA for 0c52ddd
src/githubHelper.ts
@@ -428,7 +428,13 @@ export class GithubHelper {
428
labels.push('has attachment');
429
}
430
431
- labels.push('gitlab merge request');
+ // Differentiate between issue and merge request
432
+ // Note that it needs to apply to placeholders as well
433
+ if ('merge_requests_count' in item) {
434
+ labels.push('gitlab issue');
435
+ } else {
436
+ labels.push('gitlab merge request');
437
+ }
438
439
if (item.state === 'merged') {
440
labels.push('merged');
0 commit comments