Skip to content

Commit 6334c31

Browse files
committed
increase authors
1 parent 6e25921 commit 6334c31

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pin-bump-ci-handler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
return;
3939
}
4040
41-
if (pr.data.user.login !== 'pytorchbot') {
42-
console.log(`PR #${prNumber} was created by ${pr.data.user.login}, not pytorchbot. Skipping.`);
41+
const allowedAuthors = new Set(['pytorchbot', 'pytorchupdatebot', 'facebook-github-bot']);
42+
if (!allowedAuthors.has(pr.data.user.login)) {
43+
console.log(`PR #${prNumber} was created by ${pr.data.user.login}, not an allowed automation account. Skipping.`);
4344
return;
4445
}
4546

0 commit comments

Comments
 (0)