Skip to content
Snippets Groups Projects
Unverified Commit 55ebac51 authored by Aleksandr Lesnenko's avatar Aleksandr Lesnenko Committed by GitHub
Browse files

filter out bots in the auto assign workflow (#31884)

parent bc868a05
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,10 @@ jobs:
const prAuthor = context.payload.pull_request.user.login;
const prNumber = context.payload.pull_request.number;
if (prAuthor.endsWith('[bot]')) {
return false;
}
// Assign PR author
await github.rest.issues.addAssignees({
owner: context.repo.owner,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment