mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
chore: do not credit bot users
This commit is contained in:
parent
47e1f466ce
commit
a3fb4443fa
2
.github/workflows/contributors.yml
vendored
2
.github/workflows/contributors.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
const { repo: { owner, repo } } = context;
|
||||
const pr = context.payload.pull_request;
|
||||
|
||||
if (pr.user.id === 2492783 || pr.user.id === 46447321) {
|
||||
if (pr.user.id === 2492783 || pr.user.type === "Bot") {
|
||||
console.log('No credit for maintainer/bot, stop processing');
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue