Skip to content

Commit

Permalink
Add base dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CybAtax committed May 25, 2024
1 parent b060e58 commit f1b9890
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/author-pr-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
const repo = context.repo.repo;
const issue_number = context.issue.number;
const author = context.payload.pull_request.user.login;
if (author.includes("bot")) {
core.info(`Cannot add bot account (${author}) as assignee`);
return;
}
const assignmentResult = await github.rest.issues.addAssignees({
owner,
Expand Down

0 comments on commit f1b9890

Please sign in to comment.