title | intro | redirect_from | versions | topics | shortTitle | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Permission levels for a personal account repository |
A repository owned by a personal account has two permission levels: the repository owner and collaborators. |
|
|
|
Repository permissions |
Repositories owned by personal accounts have one owner. Ownership permissions can't be shared with another personal account.
You can also {% ifversion fpt or ghec %}invite{% else %}add{% endif %} users on {% data variables.product.product_name %} to your repository as collaborators. For more information, see "AUTOTITLE."
{% tip %}
Tip: If you require more granular access to a repository owned by your personal account, consider transferring the repository to an organization. For more information, see "AUTOTITLE."
{% endtip %}
The repository owner has full control of the repository. In addition to the actions that any collaborator can perform, the repository owner can perform the following actions.
Action | More information |
---|---|
{% ifversion fpt or ghec %}Invite collaborators{% else %}Add collaborators{% endif %} | "AUTOTITLE" |
Change the visibility of the repository | "AUTOTITLE" |
Limit interactions with the repository | "AUTOTITLE" |
Rename a branch, including the default branch | "AUTOTITLE" |
Merge a pull request on a protected branch, even if there are no approving reviews | "AUTOTITLE" |
Delete the repository | "AUTOTITLE" |
Manage the repository's topics | "AUTOTITLE" |
Manage security and analysis settings for the repository | "AUTOTITLE" |
Enable the dependency graph for a private repository | "AUTOTITLE" |
Delete and restore packages | "AUTOTITLE" |
Customize the repository's social media preview | "AUTOTITLE" |
Create a template from the repository | "AUTOTITLE" |
Control access to {% data variables.product.prodname_dependabot_alerts %} | "AUTOTITLE" |
Dismiss {% data variables.product.prodname_dependabot_alerts %} in the repository | "AUTOTITLE" |
Manage data use for a private repository | "AUTOTITLE" |
Define code owners for the repository | "AUTOTITLE" |
Archive the repository | "AUTOTITLE" |
Create security advisories | "AUTOTITLE" |
Display a sponsor button | "AUTOTITLE" |
Allow or disallow auto-merge for pull requests | "AUTOTITLE" |
Manage deploy keys | "AUTOTITLE" |
Manage webhooks | "AUTOTITLE" |
Collaborators on a personal repository can pull (read) the contents of the repository and push (write) changes to the repository.
{% note %}
Note: In a private repository, repository owners can only grant write access to collaborators. Collaborators can't have read-only access to repositories owned by a personal account.
{% endnote %}
Collaborators can also perform the following actions.
Action | More information |
---|---|
Fork the repository | "AUTOTITLE" |
Rename a branch other than the default branch | "AUTOTITLE" |
Create, edit, and delete comments on commits, pull requests, and issues in the repository | |
Create, assign, close, and re-open issues in the repository | "AUTOTITLE" |
Manage labels for issues and pull requests in the repository | "AUTOTITLE" |
Manage milestones for issues and pull requests in the repository | "AUTOTITLE" |
Mark an issue or pull request in the repository as a duplicate | "AUTOTITLE" |
Create, merge, and close pull requests in the repository | "AUTOTITLE" |
Enable and disable auto-merge for a pull request | "AUTOTITLE" |
Apply suggested changes to pull requests in the repository | "AUTOTITLE" |
Create a pull request from a fork of the repository | "AUTOTITLE" |
Submit a review on a pull request that affects the mergeability of the pull request | "AUTOTITLE" |
Create and edit a wiki for the repository | "AUTOTITLE" |
Create and edit releases for the repository | "AUTOTITLE" |
Act as a code owner for the repository | "AUTOTITLE" |
Publish, view, or install packages | "AUTOTITLE" |
Remove themselves as collaborators on the repository | "AUTOTITLE" |