forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
189 changed files
with
3,580 additions
and
2,513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+115 KB
...s/images/help/settings/actions-fork-pull-request-workflows-require-approval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...nt/actions/managing-workflow-runs/approving-workflow-runs-from-private-forks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Approving workflow runs from private forks | ||
intro: 'When someone without write access submits a pull request to a private repository, a maintainer may need to approve any workflow runs.' | ||
permissions: 'Maintainers with write access to a repository can approve workflow runs.' | ||
versions: | ||
feature: actions-private-fork-workflow-approvals | ||
shortTitle: Approve private fork runs | ||
--- | ||
|
||
## About workflow runs from private forks | ||
|
||
{% data reusables.actions.private-repository-forks-overview %} For more information, see "[Enforcing a policy for fork pull requests in private repositories](/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-fork-pull-requests-in-private-repositories)." | ||
|
||
## Approving workflow runs on a pull request from a private fork | ||
|
||
{% data reusables.actions.workflows.approve-workflow-runs %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: Best practices for enterprises | ||
shortTitle: Best practices | ||
intro: Learn {% data variables.product.company_short %}-recommended practices for your enterprise. | ||
versions: | ||
ghec: '*' | ||
ghes: '*' | ||
ghae: '*' | ||
type: overview | ||
topics: | ||
- Accounts | ||
- Enterprise | ||
- Fundamentals | ||
--- | ||
|
||
{% ifversion ghec %} | ||
## Identify the best authentication method for your enterprise | ||
|
||
{% data reusables.enterprise.ghec-authentication-options %} | ||
|
||
For help identifying the authentication method that will best meet your needs, see "[About authentication for your enterprise](/admin/identity-and-access-management/managing-iam-for-your-enterprise/about-authentication-for-your-enterprise)." | ||
{% endif %} | ||
|
||
## Use policies | ||
|
||
We recommend using policies to enforce business rules and regulatory compliance. | ||
|
||
{% data reusables.enterprise.about-policies %} For more information, see "[About enterprise policies](/admin/policies/enforcing-policies-for-your-enterprise/about-enterprise-policies)." | ||
|
||
## Minimize the number of organizations | ||
|
||
Large enterprises often need multiple organizations, but try to create as few as possible to reflect top-level corporate divisions. A smaller number of organizations encourages innersource practices and allows discussions to involve a wider audience. | ||
|
||
Instead, you can manage repository access and security requirements at a more granular level within each organization by using teams. For more information, see "[About teams](/organizations/organizing-members-into-teams/about-teams)." | ||
|
||
## Avoid extensive collaboration in user-owned repositories | ||
|
||
We recommend collaborating in organization-owned repositories whenever possible and minimizing collaboration in user-owned repositories. Organization-owned repositories have more sophisticated security and administrative features, and they remain accessible even as enterprise membership changes. | ||
|
||
## Use human-readable usernames | ||
|
||
{% ifversion ghec %}If you control the usernames for enterprise members, use{% else %}Use{% endif %} human-readable usernames, and avoid machine-generated IDs that are difficult for humans to read. | ||
|
||
You can manage the display of usernames within your enterprise's private repositories. For more information, see "[Managing the display of member names in your organization](/organizations/managing-organization-settings/managing-the-display-of-member-names-in-your-organization)." | ||
|
||
## Further reading | ||
|
||
- "[Best practices for repositories](/repositories/creating-and-managing-repositories/best-practices-for-repositories)" | ||
- "[Best practices for organizations](/organizations/collaborating-with-groups-in-organizations/best-practices-for-organizations)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.