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`);
|
||||
continue; // don't process locked issues
|
||||
}
|
||||
core.info(`is draft: ${issue.draft}`);
|
||||
if (issue.draft && !this.options.processDrafts) {
|
||||
core.info(`Skipping ${issueType} because it is a draft`);
|
||||
continue; // don't process drafts
|
||||
|
@ -2716,6 +2715,7 @@ class IssueProcessor {
|
|||
direction: this.options.ascending ? 'asc' : 'desc',
|
||||
page
|
||||
});
|
||||
core.info(`issue data: ${issueResult.data}`);
|
||||
return issueResult.data;
|
||||
}
|
||||
catch (error) {
|
||||
|
|
|
@ -152,7 +152,6 @@ export class IssueProcessor {
|
|||
continue; // don't process locked issues
|
||||
}
|
||||
|
||||
core.info(`is draft: ${issue.draft}`);
|
||||
if (issue.draft && !this.options.processDrafts) {
|
||||
core.info(`Skipping ${issueType} because it is a draft`);
|
||||
continue; // don't process drafts
|
||||
|
@ -323,6 +322,8 @@ export class IssueProcessor {
|
|||
page
|
||||
}
|
||||
);
|
||||
|
||||
core.info(`issue data: ${issueResult.data}`);
|
||||
return issueResult.data;
|
||||
} catch (error) {
|
||||
core.error(`Get issues for repo error: ${error.message}`);
|
||||
|
|
Loading…
Reference in New Issue