Skip to content

Commit

Permalink
fix: missing failsIfUsersCannotBeAssigned flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Jan 3, 2025
1 parent d4b175c commit 9489ded
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ try {
}
);

const failsIfUsersCannotBeAssigned = core.getBooleanInput(
'failsIfUsersCannotBeAssigned',
{
required: false
}
);

// Get octokit
const octokit = github.getOctokit(gitHubToken);

Expand All @@ -76,7 +83,8 @@ try {
allowNoAssignees,
allowSelfAssign,
manualIssueNumber,
teamIsPullRequestReviewer
teamIsPullRequestReviewer,
failsIfUsersCannotBeAssigned
});
} catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit 9489ded

Please sign in to comment.