chore: ignore bot pull requests

This commit is contained in:
Jan De Dobbeleer 2022-11-27 14:13:28 +01:00
parent f9c77334b4
commit af6c2b19f3
No known key found for this signature in database
GPG key ID: D9FE64756B9A61E6

View file

@ -19,8 +19,8 @@ jobs:
const { repo: { owner, repo } } = context; const { repo: { owner, repo } } = context;
const pr = context.payload.pull_request; const pr = context.payload.pull_request;
if (pr.user.login === "JanDeDobbeleer") { if (pr.user.id === 2492783 || pr.user.id === 46447321) {
console.log('No credit for maintainer, stop processing'); console.log('No credit for maintainer/bot, stop processing');
return; return;
} }