We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 126dd9f + 0c52ddd commit e0555deCopy full SHA for e0555de
1 file changed
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