FIX: skip draft prs
This commit is contained in:
parent
9af9f420b9
commit
09332778e2
@ -28,6 +28,11 @@ async function run(): Promise<void> {
|
||||
for (const pr of pullRequests) {
|
||||
console.log(`${pr.title} (${pr.number}), author: ${pr.user.login}`);
|
||||
|
||||
if (pr.draft) {
|
||||
console.log(`draft PR, skipping`);
|
||||
continue;
|
||||
}
|
||||
|
||||
// cleaning up old glados comments.
|
||||
// comments are sorted by default
|
||||
const comments = await octokit.request(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user