more logging to see if we have draft results
This commit is contained in:
parent
c52e87c95b
commit
2392a086f1
|
@ -2607,7 +2607,6 @@ class IssueProcessor {
|
||||||
core.info(`Skipping ${issueType} because it is locked`);
|
core.info(`Skipping ${issueType} because it is locked`);
|
||||||
continue; // don't process locked issues
|
continue; // don't process locked issues
|
||||||
}
|
}
|
||||||
core.info(`is draft: ${issue.draft}`);
|
|
||||||
if (issue.draft && !this.options.processDrafts) {
|
if (issue.draft && !this.options.processDrafts) {
|
||||||
core.info(`Skipping ${issueType} because it is a draft`);
|
core.info(`Skipping ${issueType} because it is a draft`);
|
||||||
continue; // don't process drafts
|
continue; // don't process drafts
|
||||||
|
@ -2716,6 +2715,7 @@ class IssueProcessor {
|
||||||
direction: this.options.ascending ? 'asc' : 'desc',
|
direction: this.options.ascending ? 'asc' : 'desc',
|
||||||
page
|
page
|
||||||
});
|
});
|
||||||
|
core.info(`issue data: ${issueResult.data}`);
|
||||||
return issueResult.data;
|
return issueResult.data;
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
|
|
|
@ -152,7 +152,6 @@ export class IssueProcessor {
|
||||||
continue; // don't process locked issues
|
continue; // don't process locked issues
|
||||||
}
|
}
|
||||||
|
|
||||||
core.info(`is draft: ${issue.draft}`);
|
|
||||||
if (issue.draft && !this.options.processDrafts) {
|
if (issue.draft && !this.options.processDrafts) {
|
||||||
core.info(`Skipping ${issueType} because it is a draft`);
|
core.info(`Skipping ${issueType} because it is a draft`);
|
||||||
continue; // don't process drafts
|
continue; // don't process drafts
|
||||||
|
@ -323,6 +322,8 @@ export class IssueProcessor {
|
||||||
page
|
page
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
core.info(`issue data: ${issueResult.data}`);
|
||||||
return issueResult.data;
|
return issueResult.data;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.error(`Get issues for repo error: ${error.message}`);
|
core.error(`Get issues for repo error: ${error.message}`);
|
||||||
|
|
Loading…
Reference in New Issue