GH-900 practice question 6 of 15

Who can be assigned to an Issue or pull request? (Each answer presents a complete solution. Choose two.)

Full set: 144 questions
Answer options
A: Anyone who has an enterprise GitHub account
B: Anyone who has commented on the Issue or pull request Correct answer
C: Anyone who has a personal GitHub account
D: Anyone with write permissions to the repository Correct answer
Correct Answer:
B. Anyone who has commented on the Issue or pull request; D. Anyone with write permissions to the repository
Explanation

Assignment of issues and pull requests on GitHub is governed by repository permissions and user engagement. A user must have write permissions to the repository to be eligible for assignment, as this role implies they are a collaborator who can push changes. This is the primary mechanism for assigning work. Additionally, in public repositories, any user who has commented on the issue or pull request can also be assigned. This allows project maintainers to assign tasks to community members who have shown interest and engagement, even if they are not formal collaborators with write access.

Why Incorrect

A. Simply having an enterprise account does not grant assignment rights to a specific repository; permissions are repository-specific.
C. A personal GitHub account is a prerequisite, but it is not sufficient. Specific permissions or interaction with the repository are required.

References

1. GitHub Docs. "Assigning issues and pull requests to other GitHub users." Accessed October 26

2023.

Reference Detail: The documentation states

"You can assign issues and pull requests to collaborators with write permissions to the repository." It further clarifies

"In addition to repository collaborators and organization members

in public repositories

you can assign issues to people who have commented on the issue or pull request." This directly supports both correct answers (B and D).

2. GitHub Docs. "Repository roles for an organization." Accessed October 26

2023.

Reference Detail: Under the "Permissions" table

the "Write" role is defined as having the ability to "Open

close

re-open

and assign issues and pull requests." This confirms that write permission is a direct prerequisite for being an assignee

supporting answer D.

Scroll to Top