Skip to content

Commit e285f17

Browse files
committed
ci(pr-metadata): stop assigning the suspended TechEngineBot
Assigning a suspended account makes the whole assignees call 404 on every PR regardless of which token calls it. Assign the PR author only until the bot account is reinstated. Refs #350
1 parent e920813 commit e285f17

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/pr-metadata.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
const repo = context.repo.repo;
2828
const issue_number = pr.number;
2929
30-
const assignees = ['TechEngineBot'];
30+
// TechEngineBot is left out while its GitHub account is suspended:
31+
// assigning a suspended user 404s the whole call regardless of token.
32+
// Re-add it here once the account is reinstated.
33+
const assignees = [];
3134
if (!pr.user?.type?.endsWith('Bot')) {
3235
assignees.push(pr.user.login);
3336
}

0 commit comments

Comments
 (0)