Skip to content

Commit e280f4c

Browse files
authored
Merge pull request #37429 from github/repo-sync
Repo sync
2 parents f0c197c + 02e0eba commit e280f4c

File tree

6 files changed

+48
-4
lines changed

6 files changed

+48
-4
lines changed

content/admin/managing-accounts-and-repositories/managing-repositories-in-your-enterprise/governing-how-people-use-repositories-in-your-enterprise.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ Choose which repositories (current or future) to target in the selected organiza
7171

7272
{% data reusables.enterprise.repo-policy-rules-policies-section %}
7373

74+
### Delegating bypass of policies
75+
76+
{% data reusables.enterprise.repo-policy-rules-delegated-bypass %}
77+
78+
#### Managing bypass requests
79+
80+
{% data reusables.enterprise.repo-policy-rules-manage-bypass-request %}
81+
7482
## Further reading
7583

7684
To set additional policies for repository management, see [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise).

content/organizations/managing-organization-settings/governing-how-people-use-repositories-in-your-organization.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,11 @@ If you set a dynamic list by name, you'll add one or more naming patterns using
6262
### Policies
6363

6464
{% data reusables.enterprise.repo-policy-rules-policies-section %}
65+
66+
### Delegating bypass of policies
67+
68+
{% data reusables.enterprise.repo-policy-rules-delegated-bypass %}
69+
70+
#### Managing bypass requests
71+
72+
{% data reusables.enterprise.repo-policy-rules-manage-bypass-request %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{% ifversion repo-policy-rules %}
2+
3+
[!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change.
4+
5+
Delegated bypass for repository policies lets you control who can bypass repository policies for repository deletions and visibility changes.
6+
7+
With delegated bypass, repository administrators must submit a request to change the visibility of the repository or delete the repository. The request is sent to a designated group of reviewers, who either approve or deny the request to bypass repository policies.
8+
9+
If the request to bypass repository policies is approved, the request change is completed immediately. If the request is denied, the requested change will not be made but may be re-requested.
10+
11+
To configure delegated bypass, enterprise owners or organization owners first create a "bypass list". The bypass list includes specific roles and teams, such as team or repository administrators, who oversee requests to bypass repository policies. For more information, see [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-repositories-in-your-enterprise/governing-how-people-use-repositories-in-your-enterprise).
12+
13+
{% endif %}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Managing requests to bypass push rules
2+
3+
[!NOTE] Repository policy delegated bypass is in {% data variables.release-phases.public_preview %} and subject to change.
4+
5+
You can view and manage all requests for bypass privileges on the “Bypass Requests" page, located under the **Policy** settings.
6+
7+
You can filter requests by approver (member of the bypass list), requester (contributor making the request), timeframe, and status. The following statuses are assigned to a request:
8+
9+
|Status|Description|
10+
|---------|-----------|
11+
|`Cancelled`| The request has been cancelled by the contributor.|
12+
|`Completed`|The request has been approved and the commit(s) have been pushed to the repository.|
13+
|`Denied`|The request has been reviewed and denied.|
14+
|`Expired`| The request has expired. Requests are valid for 7 days. |
15+
|`Open`| The request has either not yet been reviewed, or has been approved but the commit(s) have not been pushed to the repository. |
16+
17+
When a contributor requests bypass privileges to push a commit containing restricted content, members of the bypass list all receive an email notification containing a link to the request. Members of the bypass list then have 7 days to review and either approve or deny the request before the request expires.
18+
19+
The contributor is notified of the decision by email and must take the required action. If the request is approved, the contributor can push the commit containing the restricted content to the repository. If the request is denied, the contributor must remove the restricted content from the commit in order to successfully push the commit to the repository.

data/reusables/repositories/about-push-rule-delegated-bypass.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
>[!NOTE] Delegated bypass for push rules is currently in {% data variables.release-phases.public_preview %} and subject to change.
2-
31
Delegated bypass for push rulesets lets you control who can bypass push protection and which blocked pushes should be allowed.
42

53
With delegated bypass, contributors to a repository must request "bypass privileges" when pushing commits that contain restricted content. The request is sent to a designated group of reviewers, who either approve or deny the request to bypass push rules.

data/reusables/repositories/managing-delegated-bypass.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Managing requests to bypass push rules
22

3-
>[!NOTE] Delegated bypass for push rules is currently in {% data variables.release-phases.public_preview %} and subject to change.
4-
53
You can view and manage all requests for bypass privileges on the “Bypass Requests" page, located under the **Rules** settings of the repository.
64

75
{% data reusables.repositories.navigate-to-repo %}

0 commit comments

Comments
 (0)