We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5b8a6 commit 0b08a6cCopy full SHA for 0b08a6c
index.js
@@ -66,6 +66,17 @@ module.exports = (app) => {
66
per_page: 100,
67
issue_number: pr.number
68
}));
69
+
70
+ // bots to ignore
71
+ let bots = [
72
+ 'linear', // ref https://github.com/stilliard/github-task-list-completed/issues/33
73
+ 'linear[bot]',
74
+ ];
75
+ // filter out comments from the bot
76
+ comments.data = comments.data.filter(comment => {
77
+ return ! bots.includes(comment.user.login);
78
+ });
79
80
} catch (err) {
81
if (err.status === 403) { // if we don't have access to the repo, skip entirely
82
log(pr, `No access, skipping entirely. Error (${err.status}): ${err.message}`, 'error');
0 commit comments